From e264f62ca09a8f65c87a46d562a4d0f9ec5d457e Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Wed, 10 Feb 2010 11:10:31 -0800 Subject: Check in LLVM r95781. --- test/Integer/undefined_bt.ll | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/Integer/undefined_bt.ll (limited to 'test/Integer/undefined_bt.ll') diff --git a/test/Integer/undefined_bt.ll b/test/Integer/undefined_bt.ll new file mode 100644 index 0000000..7eba590 --- /dev/null +++ b/test/Integer/undefined_bt.ll @@ -0,0 +1,18 @@ +; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll +; RUN: diff %t1.ll %t2.ll + + +@X = global i31 undef + + +declare i32 @"atoi"(i8 *) + +define i63 @test() { + ret i63 undef +} + +define i31 @test2() { + %X = add i31 undef, 1 + ret i31 %X +} -- cgit v1.1