diff options
Diffstat (limited to 'testsuite/tests/module/mod174.hs')
-rw-r--r-- | testsuite/tests/module/mod174.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod174.hs b/testsuite/tests/module/mod174.hs new file mode 100644 index 0000000000..8e8149db7a --- /dev/null +++ b/testsuite/tests/module/mod174.hs @@ -0,0 +1,9 @@ + +-- Test for trac #414 +-- If main is not exported from Main then we should emit an error +-- instead of running it anyway + +module Main () where + +main = putStrLn "Hello, World" + |