diff options
Diffstat (limited to 'testsuite/tests/ffi/should_run/all.T')
-rw-r--r-- | testsuite/tests/ffi/should_run/all.T | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T index cf1e169c25..d6fdc8cde4 100644 --- a/testsuite/tests/ffi/should_run/all.T +++ b/testsuite/tests/ffi/should_run/all.T @@ -166,3 +166,12 @@ test('4038', normal, compile_and_run, flagsFor4038) test('4221', [ omit_ways(['ghci']), extra_clean(['4221_c.o']) ], compile_and_run, ['4221_c.c']) +test('5402', [ omit_ways(['ghci']), + exit_code(42), + extra_clean(['5402_main.o']), + # The 5402_setup hack is to ensure that we generate + # 5402_stub.h before compiling 5402_main.c, which + # needs it. + compile_cmd_prefix('$MAKE --no-print-directory 5402_setup && ') ], + compile_and_run, ["-no-hs-main 5402_main.c"]) + |