diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/bool6.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/bool6.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/bool6.C b/gcc/testsuite/g++.old-deja/g++.jason/bool6.C new file mode 100644 index 00000000000..b8db8722b8f --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/bool6.C @@ -0,0 +1,9 @@ +// Bug: The conversion from bool to int gets stripped. +// Build don't link: + +bool b; + +main () +{ + return ((!b) != 0); +} |