OSDN Git Service

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 }