llvm/test/Assembler/alloca-invalid-type.ll
2015-02-16 08:38:03 +00:00

10 lines
147 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: invalid type for alloca
define void @test() {
entry:
alloca metadata !{null}
ret void
}