diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
| commit | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch) | |
| tree | 98b8f811c7aff2547cab8642daf372d6c59502fb /test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll | |
| parent | 6421cca32f69ac849537a3cff78c352195e99f1b (diff) | |
Notes
Diffstat (limited to 'test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll')
| -rw-r--r-- | test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll b/test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll new file mode 100644 index 000000000000..73544a7f709a --- /dev/null +++ b/test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll @@ -0,0 +1,9 @@ +define weak i32 @baz() #0 { +entry: + ret i32 0 +} + +define i8* @bar() { +entry: + ret i8* bitcast (i32 ()* @baz to i8*) +} |
