summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeLanguage/SafeLang08_A.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/safeLanguage/SafeLang08_A.c')
-rw-r--r--testsuite/tests/safeHaskell/safeLanguage/SafeLang08_A.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang08_A.c b/testsuite/tests/safeHaskell/safeLanguage/SafeLang08_A.c
new file mode 100644
index 0000000000..d77ebad560
--- /dev/null
+++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang08_A.c
@@ -0,0 +1,6 @@
+double sinyy (double d) {
+ double (*y)(double) = 0x0;
+ return y(d);
+}
+
+