OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix implicit int
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
bool4.C
1
// Test for allowing conversion to bool.
2
3
struct A { };
4
5
int main ()
6
{
7
bool b = (void*)0;
8
b = (int A::*)0;
9
b = (int (A::*)())0;
10
}