diff options
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/driver/T17586/Makefile | 9 | ||||
-rw-r--r-- | testsuite/tests/driver/T17586/T17586.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/driver/T17586/T17586.stdout | 6 | ||||
-rw-r--r-- | testsuite/tests/driver/T17586/all.T | 1 |
4 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T17586/Makefile b/testsuite/tests/driver/T17586/Makefile new file mode 100644 index 0000000000..ccca1f3c98 --- /dev/null +++ b/testsuite/tests/driver/T17586/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk + +T17586: + "$(TEST_HC)" $(TEST_HC_OPTS) -o T17586 ./T17586.hs + ./T17586 + "$(TEST_HC)" $(TEST_HC_OPTS) -o T17586 ./T17586.hs -g3 + ./T17586 diff --git a/testsuite/tests/driver/T17586/T17586.hs b/testsuite/tests/driver/T17586/T17586.hs new file mode 100644 index 0000000000..c81fb82437 --- /dev/null +++ b/testsuite/tests/driver/T17586/T17586.hs @@ -0,0 +1,2 @@ +main :: IO () +main = putStrLn "hello world" diff --git a/testsuite/tests/driver/T17586/T17586.stdout b/testsuite/tests/driver/T17586/T17586.stdout new file mode 100644 index 0000000000..8697277251 --- /dev/null +++ b/testsuite/tests/driver/T17586/T17586.stdout @@ -0,0 +1,6 @@ +[1 of 1] Compiling Main ( T17586.hs, T17586.o ) +Linking T17586 ... +hello world +[1 of 1] Compiling Main ( T17586.hs, T17586.o ) [flags changed] +Linking T17586 ... +hello world diff --git a/testsuite/tests/driver/T17586/all.T b/testsuite/tests/driver/T17586/all.T new file mode 100644 index 0000000000..2ec89b4d03 --- /dev/null +++ b/testsuite/tests/driver/T17586/all.T @@ -0,0 +1 @@ +test('T17586', normal, makefile_test, []) |