aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/warning9.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/warning9.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/warning9.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/warning9.C b/gcc/testsuite/g++.old-deja/g++.jason/warning9.C
index 9423ac1269b..775a37ca33d 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/warning9.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/warning9.C
@@ -3,12 +3,13 @@
struct A {
operator int ();
- A& operator= (int); // { dg-warning "" } not used below
+ A& operator= (int);
};
+int
main()
{
A a, b;
- a = b; // { dg-warning "" } uses synthesized op=
+ a = b;
}