diff options
Diffstat (limited to 'llvm/test/Feature/constpointer.ll')
-rw-r--r-- | llvm/test/Feature/constpointer.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Feature/constpointer.ll b/llvm/test/Feature/constpointer.ll index dcf704a4390..9a876d2cedb 100644 --- a/llvm/test/Feature/constpointer.ll +++ b/llvm/test/Feature/constpointer.ll @@ -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 |