aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/alloca-invalid-type.ll
blob: 413bcbd76ba0b4daea614510ab2a9ad3b2db335c (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s 2>&1 | FileCheck %s

; CHECK: invalid type for alloca

define void @test() {
entry:
  alloca metadata !{null}
  ret void
}