summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/bool5.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/bool5.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/bool5.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/bool5.C b/gcc/testsuite/g++.old-deja/g++.jason/bool5.C
index 1d2f5b60b46..0a16ccb16ac 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/bool5.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/bool5.C
@@ -2,10 +2,10 @@
int main ()
{
bool b = false;
- int i = b++;
+ int i = b++; // { dg-warning "deprecated" }
if (i != false || b != true)
return 1;
- i = b++;
+ i = b++; // { dg-warning "deprecated" }
if (i != true || b != true)
return 1;
}