]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/compat/struct-ret-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / compat / struct-ret-1.c
diff --git a/gcc/testsuite/gcc.c-torture/compat/struct-ret-1.c b/gcc/testsuite/gcc.c-torture/compat/struct-ret-1.c
deleted file mode 100644 (file)
index a585c8f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-typedef struct { int re; int im; } T;
-
-T f (int, int);
-
-#if COMPILER != 1
-T
-f (int arg1, int arg2)
-{
-  T x;
-  x.re = arg1;
-  x.im = arg2;
-  return x;
-}
-#endif
-
-#if COMPILER != 2
-main ()
-{
-  T result;
-  result = f (3, 4);
-  if (result.re != 3 || result.im != 4)
-    abort ();
-  exit (0);
-}
-#endif