* g++.old-deja/g++.other/init16.C: New test.
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Nov 2000 13:18:08 +0000 (14:18 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 8 Nov 2000 13:18:08 +0000 (14:18 +0100)
From-SVN: r37318

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

index b58a1c2..304a3f0 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.old-deja/g++.other/init16.C: New test.
+
 2000-11-06  Loren J. Rittle  <ljrittle@acm.org>
 
        * g++.old-deja/g++.mike/p6610a.C: Update XFAIL.
diff --git a/gcc/testsuite/g++.old-deja/g++.other/init16.C b/gcc/testsuite/g++.old-deja/g++.other/init16.C
new file mode 100644 (file)
index 0000000..8d7c1af
--- /dev/null
@@ -0,0 +1,11 @@
+// Build don't link:
+// Origin: Jakub Jelinek <jakub@redhat.com>
+
+// excess errors test - XFAIL *-*-*
+
+#include <string>
+
+struct foo {
+  string x;
+};
+extern const struct foo y = { "foo" };