diff options
Diffstat (limited to 'test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll')
-rw-r--r-- | test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll b/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll new file mode 100644 index 0000000..c8d1201 --- /dev/null +++ b/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll @@ -0,0 +1,7 @@ +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c + +; Test const pointer refs & forward references + +%t3 = global int * %t1 ;; Forward reference +%t1 = global int 4 + |