]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/anon-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / anon-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/anon-1.c b/gcc/testsuite/gcc.c-torture/execute/anon-1.c
deleted file mode 100644 (file)
index 98a9ed7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.  */
-
-/* Source: Neil Booth, 4 Nov 2001, derived from PR 2820 - field lookup in
-   nested anonymous entities was broken.  */
-
-struct
-{
-  int x;
-  struct
-  {
-    int a;
-    union
-    {
-      int b;
-    };
-  };
-} foo;
-
-int
-main(int argc, char *argv[])
-{
-  foo.b = 6;
-  foo.a = 5;
-
-  if (foo.b != 6)
-    abort ();
-
-  return 0;
-}