diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-14 22:59:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-14 22:59:47 +0000 |
commit | f05591d35992dd22f1b5408dfa12c2da5900e6f5 (patch) | |
tree | e57b56f411fe363fca5b5ebe57364ea76bb43119 /test/Feature | |
parent | 8a32784ad4a2110c4c73189c3314289c407a6183 (diff) |
New, horrible, testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r-- | test/Feature/globalredefinition.ll | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Feature/globalredefinition.ll b/test/Feature/globalredefinition.ll new file mode 100644 index 0000000000..793554a2c7 --- /dev/null +++ b/test/Feature/globalredefinition.ll @@ -0,0 +1,18 @@ +; Test forward references and redefinitions of globals + +%Y = global void()* %X + +%A = global int* %B +%B = global int 7 +%B = global int 7 + + +declare void %X() + +declare void %X() + +void %X() { + ret void +} + +declare void %X() |