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..2afb1a0 --- /dev/null +++ b/test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s -march=c + +; Test const pointer refs & forward references + +@t3 = global i32* @t1 ; <i32**> [#uses=0] +@t1 = global i32 4 ; <i32*> [#uses=1] + |