diff options
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r-- | test/ExecutionEngine/test-call.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll index 4c7bbaa..a69d850 100644 --- a/test/ExecutionEngine/test-call.ll +++ b/test/ExecutionEngine/test-call.ll @@ -1,7 +1,13 @@ declare void %exit(int) + +void %FP(void(int) * %F) { + call void %F(int 0) + ret void +} + int %main() { - call void %exit(int 0) + call void %FP(void(int)* %exit) ret int 1 } |