new testcase for PR472
[oota-llvm.git] / test / Feature / constpointer.ll
index dcf704a4390de8957d4150023e8e197c28490198..9a876d2cedb0a96f1149ea9b5f5a4dac83f6c5fc 100644 (file)
@@ -1,3 +1,7 @@
+; 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
+
 ; This testcase is primarily used for testing that global values can be used as 
 ; constant pointer initializers.  This is tricky because they can be forward
 ; declared and involves an icky bytecode encoding.  There is no meaningful