aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/alloca-invalid-type-2.ll
blob: 7b1cc6255427f33d967b58a70b1d241311b54ce6 (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 i32 (i32)
  ret void
}