]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/compile/20010124-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20010124-1.c
diff --git a/gcc/testsuite/gcc.c-torture/compile/20010124-1.c b/gcc/testsuite/gcc.c-torture/compile/20010124-1.c
deleted file mode 100644 (file)
index dd2d9c1..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Origin: testcase from Joseph Myers <jsm28@cam.ac.uk>, problem pointed
-   out in a post to comp.std.c
-   <980283801.3063.0.nnrp-07.c2deb1c2@news.demon.co.uk>
-   by Dibyendu Majumdar <dibyendu@mazumdar.demon.co.uk>.
-   Compound literals should be parsed as postfix expressions, rather than
-   as cast expressions.  In particular, they are valid operands of sizeof.  */
-
-struct s { int a; int b; };
-char x[((sizeof (struct s){ 1, 2 }) == sizeof (struct s)) ? 1 : -1];