mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 20:57:15 +00:00
5b71fffa58
An alloca's type should be weird things like metadata. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228820 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
155 B
LLVM
10 lines
155 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: pointer to this type is invalid
|
|
|
|
define void @test() {
|
|
entry:
|
|
alloca metadata !{null}
|
|
ret void
|
|
}
|