aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/func-ptr-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/func-ptr-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/func-ptr-1.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/func-ptr-1.c b/gcc/testsuite/gcc.c-torture/execute/func-ptr-1.c
deleted file mode 100644
index 55f0e10660f..00000000000
--- a/gcc/testsuite/gcc.c-torture/execute/func-ptr-1.c
+++ /dev/null
@@ -1,16 +0,0 @@
-static double f (float a);
-static double (*fp) (float a);
-
-main ()
-{
- fp = f;
- if (fp ((float) 1) != 1.0)
- abort ();
- exit (0);
-}
-
-static double
-f (float a)
-{
- return a;
-}