]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/nestfunc-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / nestfunc-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/nestfunc-1.c b/gcc/testsuite/gcc.c-torture/execute/nestfunc-1.c
deleted file mode 100644 (file)
index e34a56b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-int
-g (int a, int b, int (*gi) (int, int))
-{
-  if ((*gi) (a, b))
-    return a;
-  else
-    return b;
-}
-
-f ()
-{
-#ifndef NO_TRAMPOLINES
-  int i, j;
-  int f2 (int a, int b)
-    {
-      return a > b;
-    }
-
-  if (g (1, 2, f2) != 2)
-    abort ();
-#endif
-}
-
-main ()
-{
-  f ();
-  exit (0);
-}