Created
November 11, 2018 00:16
-
-
Save cdsmith/109f3c84b471573e043204e3f9e463c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
test('T13704b', [], multimod_compile, ['T13704b2', '-main-is T13704b2.program -v0']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module T13704b1 where | |
main :: IO () | |
main = return () | |
-- wrapped by T13704b2.hs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module T13704b2 where | |
import T13704b1 (main) | |
program :: IO () | |
program = main | |
-- meant to be compiled with '-main-is T13704b2.program' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment