new
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 1999 10:41:46 +0000 (10:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 1999 10:41:46 +0000 (10:41 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27026 138bc75d-0d04-0410-961f-82ee72b054a4

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

diff --git a/gcc/testsuite/g++.old-deja/g++.ext/anon1.C b/gcc/testsuite/g++.old-deja/g++.ext/anon1.C
new file mode 100644 (file)
index 0000000..c2a6d49
--- /dev/null
@@ -0,0 +1,12 @@
+union U {
+  struct { int i; int j; };
+  int a[2];
+};
+
+int main ()
+{
+  U u;
+  u.i = 42;
+  u.a[1] = 24;
+  return u.j != 24 || u.a[0] != 42;
+}