diff options
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll')
-rw-r--r-- | llvm/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll b/llvm/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll new file mode 100644 index 00000000000..c8d12013e92 --- /dev/null +++ b/llvm/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 + |