aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/badopt1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/badopt1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/badopt1.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/badopt1.C b/gcc/testsuite/g++.old-deja/g++.other/badopt1.C
index 096770e77ad..fbc4b126cd5 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/badopt1.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/badopt1.C
@@ -1,6 +1,8 @@
// Based on a testcase by Bryan Weston <bryanw@bluemoon.sps.mot.com>
// egcs 1.1 fails to increment count
+// Special g++ Options: -O2
+
#include <cstdlib>
struct Base { Base() {} }; // removing the constructor fixes the problem