Use std::is_sorted instead of manual loops. NFC
[oota-llvm.git] / test / Verifier / 2008-03-01-AllocaSized.ll
index 58f3098f9512569d1a9e6b232de74e2c778b8a96..7478334959fef02c91ea9f03384a577ce8c95c53 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: not llvm-as %s -o /dev/null |& grep "Cannot allocate unsized type"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+; CHECK: invalid type for alloca
 ; PR2113
 
 define void @test() {