]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/noncompile/930714-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / noncompile / 930714-1.c
diff --git a/gcc/testsuite/gcc.dg/noncompile/930714-1.c b/gcc/testsuite/gcc.dg/noncompile/930714-1.c
deleted file mode 100644 (file)
index bdbc133..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-typedef union _yystype
-{
-  int i;
-  int *iptr;
-  int (*ifunc)(int);
-  void (*vfunc)(int);
-}
-YYSTYPE;
-
-extern int f1(int k);
-
-void test()
-{
-  YYSTYPE a;
-  int (*iptr)(int);
-  int foo[5];
-
-  a = f1;              /* { dg-error "incompatible types" } */
-  a = (YYSTYPE)f1;
-  a = (YYSTYPE)foo;
-  a = (YYSTYPE)(int *)foo;
-  iptr = f1;
-  a = iptr;            /* { dg-error "incompatible types" } */
-  a = (YYSTYPE)iptr;
-}