diff options
Diffstat (limited to 'test/CodeGen/CBackend/2002-05-16-NameCollide.ll')
-rw-r--r-- | test/CodeGen/CBackend/2002-05-16-NameCollide.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2002-05-16-NameCollide.ll b/test/CodeGen/CBackend/2002-05-16-NameCollide.ll new file mode 100644 index 000000000000..c69b9b0c2cd7 --- /dev/null +++ b/test/CodeGen/CBackend/2002-05-16-NameCollide.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=c + +; Make sure that global variables do not collide if they have the same name, +; but different types. + +@X = global i32 5 ; <i32*> [#uses=0] +@X.upgrd.1 = global i64 7 ; <i64*> [#uses=0] + |