Need to convert to LLVM code and not C.
llvm-svn: 46397
diff --git a/llvm/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll b/llvm/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
index 896738e..909e8ee 100644
--- a/llvm/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
+++ b/llvm/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
@@ -1,7 +1,6 @@
-// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep llvm.trap
-// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep unreachable
+; RUN: llvm-as < %s | llc -march=ppc32 | grep nop
-void bork() {
- int *address = 0;
- *address = 0;
+define void @bork() noreturn nounwind {
+entry:
+ unreachable
}