]> gcc.gnu.org Git - gcc.git/commitdiff
New test
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 16 Apr 2000 04:25:18 +0000 (04:25 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 16 Apr 2000 04:25:18 +0000 (04:25 +0000)
From-SVN: r33182

gcc/testsuite/g++.old-deja/g++.other/crash16.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.other/crash16.C b/gcc/testsuite/g++.old-deja/g++.other/crash16.C
new file mode 100644 (file)
index 0000000..8555b75
--- /dev/null
@@ -0,0 +1,21 @@
+// Build don't link:
+// Special g++ Options: -O2
+// Origin: scott snyder <snyder@fnal.gov>
+
+// crash test - XFAIL *-*-*
+
+void _S_initialize();
+
+class locale
+{
+public:
+  locale() throw()
+  { _S_initialize (); }
+};
+
+void foo(const locale& __loc);
+
+void print (const int&) 
+{
+  foo(locale());
+}
This page took 0.066762 seconds and 5 git commands to generate.