diff options
Diffstat (limited to 'llvm/test/Feature/constexprbad.ll')
-rw-r--r-- | llvm/test/Feature/constexprbad.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Feature/constexprbad.ll b/llvm/test/Feature/constexprbad.ll index cbec98a417e..ed90747b8ca 100644 --- a/llvm/test/Feature/constexprbad.ll +++ b/llvm/test/Feature/constexprbad.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 for testing illegal constant expressions. ; Uncomment any code line below to test that the error is caught ; See constexpr.ll in this directory for legal ones. |