repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
bool4.C
blob
8c4695dec7216c315df1111ec97e2efcfe7f714f
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
}