diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/bool2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/bool2.C | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/bool2.C b/gcc/testsuite/g++.old-deja/g++.jason/bool2.C deleted file mode 100644 index 559b7d07615..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/bool2.C +++ /dev/null @@ -1,14 +0,0 @@ -// Make sure that bool bitfields promote to int properly. - -struct F { - bool b1 : 1; - bool b2 : 7; -}; - -int main() -{ - F f = { true, true }; - - if (int (f.b1) != 1) - return 1; -} |