diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/bool4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/bool4.C | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/bool4.C b/gcc/testsuite/g++.old-deja/g++.jason/bool4.C index 36a2180c927..fca7aa3a92f 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/bool4.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/bool4.C @@ -1,10 +1 @@ -// Test for allowing conversion to bool. - -struct A { }; - -main () -{ - bool b = (void*)0; - b = (int A::*)0; - b = (int (A::*)())0; -} +int main () |