summaryrefslogtreecommitdiff
path: root/test/Feature/constexpr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/constexpr.ll')
-rw-r--r--test/Feature/constexpr.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Feature/constexpr.ll b/test/Feature/constexpr.ll
index 5da6d80611..0572fc95ea 100644
--- a/test/Feature/constexpr.ll
+++ b/test/Feature/constexpr.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 expressions constructed from
; constant values, including constant pointers to globals.
;