aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-04-29 09:46:12 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-04-29 09:46:12 +0000
commitd8e8b2b99774f2b8223fac3223e7cd5d77db1d32 (patch)
treea6aa3915db85110e419b49c3f63758d7146af1f4
parent7f477e818acc433475aba2521fce584dd8794715 (diff)
downloadgcc-d8e8b2b99774f2b8223fac3223e7cd5d77db1d32.zip
gcc-d8e8b2b99774f2b8223fac3223e7cd5d77db1d32.tar.gz
gcc-d8e8b2b99774f2b8223fac3223e7cd5d77db1d32.tar.bz2
New failing test
From-SVN: r26693
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/static4.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/static4.C b/gcc/testsuite/g++.old-deja/g++.other/static4.C
new file mode 100644
index 0000000..1d5d7b7
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/static4.C
@@ -0,0 +1,8 @@
+// Origin: Andrew Pollard <andrew@odie.demon.co.uk>
+
+struct A {
+ A(int);
+};
+A::A(int) {}
+static A _A(0);
+int main() { return(0); }