]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/961223-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 961223-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/961223-1.c b/gcc/testsuite/gcc.c-torture/execute/961223-1.c
deleted file mode 100644 (file)
index 9bc6cfa..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-struct s {
-  double d;
-};
-
-inline struct s
-sub (struct s s)
-{
-  s.d += 1.0;
-  return s;
-}
-
-main ()
-{
-  struct s t = { 2.0 };
-  t = sub (t);
-  if (t.d != 3.0)
-    abort ();
-  exit (0);
-}