summaryrefslogtreecommitdiff
path: root/test/CodeGen/enum.c
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2010-04-03 07:51:34 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2010-04-03 07:51:34 +0000
commit2c56c396ce5990954f85194029eeb391bc3529ff (patch)
tree1e9c2f464daf7966d11aa31cf069fa1bc63fdb21 /test/CodeGen/enum.c
parent11d2b2d2bb706fca0656f2760839721bb7f6cb6f (diff)
Notes
Diffstat (limited to 'test/CodeGen/enum.c')
-rw-r--r--test/CodeGen/enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/enum.c b/test/CodeGen/enum.c
index eab32c1025186..87b0e1e67144d 100644
--- a/test/CodeGen/enum.c
+++ b/test/CodeGen/enum.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
-// RUN: %clang_cc1 -triple i386-unknown-unknown -x c++ %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 7'
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -O3 -emit-llvm -o - | grep 'ret i32 6'
+// RUN: %clang_cc1 -triple i386-unknown-unknown -x c++ %s -O3 -emit-llvm -o - | grep 'ret i32 7'
static enum { foo, bar = 1U } z;