[Orc] Require target support for host before running execution unit tests.
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index 9174264b304969770d3cb0490fadace147714f4e..7260f19bfd9a5ab551e0f12fed42558167fcdcd4 100644 (file)
@@ -1,3 +1,5 @@
-; RUN: (llvm-as < %s) 2>&1 | grep 'Cannot create a'
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-%.FOO  = internal global %struct.none zeroinitializer
+; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+; CHECK: use of undefined type named 'struct.none'
+
+@.FOO  = internal global %struct.none zeroinitializer