diff options
Diffstat (limited to 'test/CodeGen/Generic/global-ret0.ll')
-rw-r--r-- | test/CodeGen/Generic/global-ret0.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/global-ret0.ll b/test/CodeGen/Generic/global-ret0.ll new file mode 100644 index 0000000000..f013937a8c --- /dev/null +++ b/test/CodeGen/Generic/global-ret0.ll @@ -0,0 +1,6 @@ +%g = global int 0 + +int %main() { + %h = load int* %g + ret int %h +} |