aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-04-29 13:41:32 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-04-29 13:41:32 +0000
commit8938bb764b8fc64d45b27d2eed9f43783441a0c2 (patch)
tree9d7fdf07657aa9f58fef40055b7d69cc55836126
parent062e7fd8826384170b07fae9a4d8fd16c8f03083 (diff)
downloadgcc-8938bb764b8fc64d45b27d2eed9f43783441a0c2.zip
gcc-8938bb764b8fc64d45b27d2eed9f43783441a0c2.tar.gz
gcc-8938bb764b8fc64d45b27d2eed9f43783441a0c2.tar.bz2
Fix test to correctly reflect problem
From-SVN: r26695
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/static4.C7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/static4.C b/gcc/testsuite/g++.old-deja/g++.other/static4.C
index 1d5d7b7..7021337 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/static4.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/static4.C
@@ -1,8 +1,9 @@
// Origin: Andrew Pollard <andrew@odie.demon.co.uk>
+// Special g++ Options: -O
struct A {
- A(int);
+ A(int, int);
};
-A::A(int) {}
-static A _A(0);
+A::A(int, int) {}
+static A _A(0, 0);
int main() { return(0); }