X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Fanon-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Fanon-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=98a9ed71d46ba6244d81cbc5f9bbc9fcd5bc5cf8;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 98a9ed71..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/anon-1.c +++ /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; -}