fix PR8807 by making transformConstExprCastCall aware of byval arguments.
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index b6b03c828cc4138bc003f4b268e69c8e5de44f2c..f9b453b57462471ad9fbe83183ada4d8fddf9421 100644 (file)
@@ -1,3 +1,4 @@
-; RUN: (llvm-upgrade < %s | llvm-as -o /dev/null -f) 2>&1 | grep 'Cannot resolve type'
 ; 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 |& grep {invalid type for null constant}
+
+@.FOO  = internal global %struct.none zeroinitializer