aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/warn/pr36069.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/warn/pr36069.C')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/warn/pr36069.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/warn/pr36069.C b/gcc-4.8.1/gcc/testsuite/g++.dg/warn/pr36069.C
deleted file mode 100644
index efb35c257..000000000
--- a/gcc-4.8.1/gcc/testsuite/g++.dg/warn/pr36069.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// PR c++/36069 Strange "warning: suggest parentheses around
-// assignment used as truth value" with volatile/non volatile bools
-// { dg-do compile }
-// { dg-options "-Wparentheses" }
-struct foo {
- bool a;
- volatile bool b,c;
- foo() { a = b = c = false; } // { dg-bogus "parentheses" }
-};
-
-int main() {
- bool a;
- volatile bool b,c;
- a = b = c = false; // { dg-bogus "parentheses" }
- foo A;
-}