diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/nestfunc-1.c')
-rwxr-xr-x | gcc/testsuite/gcc.c-torture/execute/nestfunc-1.c | 28 |
1 files changed, 0 insertions, 28 deletions
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 100755 index e34a56b..0000000 --- a/gcc/testsuite/gcc.c-torture/execute/nestfunc-1.c +++ /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); -} |