Skip to content
Snippets Groups Projects
Commit 986df1ab authored by Cheng Shao's avatar Cheng Shao Committed by Marge Bot
Browse files

testsuite: add callee-no-local regression test

parent 8dd8a076
No related branches found
No related tags found
No related merge requests found
......@@ -130,3 +130,11 @@ test('T21710a', [ unless(tables_next_to_code(), skip) , when(wordsize(32), skip)
test('T23002', normal, compile, ['-fregs-graph'])
test('T24264', [req_cmm, grep_errmsg(r'(.*\().*(\) returns to)', [1,2])],
compile, ['-O -ddump-cmm-from-stg -dno-typeable-binds'])
test('callee-no-local', [
req_cmm, unless(arch('wasm32') or unregisterised(), skip),
grep_errmsg('ccall')
],
compile,
['-ddump-cmm-raw']
)
module Test where
foreign import ccall unsafe "foo" c_foo :: IO ()
call "ccall" arg hints: [] result hints: [] foo();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment