diff --git a/test/CodeGen/enum.c b/test/CodeGen/enum.c index f671dfca0c..c8641926ee 100644 --- a/test/CodeGen/enum.c +++ b/test/CodeGen/enum.c @@ -1,4 +1,4 @@ -// RUN: clang %s -emit-llvm | llvm-as | opt -std-compile-opts | llvm-dis | grep 'ret i32 6' +// RUN: clang %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6' static enum { foo, bar = 1U } z; diff --git a/test/CodeGen/switch.c b/test/CodeGen/switch.c index 3697ce7c02..a21505ef89 100644 --- a/test/CodeGen/switch.c +++ b/test/CodeGen/switch.c @@ -1,4 +1,4 @@ -// RUN: clang %s -emit-llvm | llvm-as | opt -std-compile-opts -disable-output +// RUN: clang %s -emit-llvm-bc -o - | opt -std-compile-opts -disable-output int foo(int i) { int j = 0;