mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
13 lines
258 B
LLVM
13 lines
258 B
LLVM
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
||
|
|
||
|
target datalayout = "A1"
|
||
|
|
||
|
; addrspace and align in wrong order
|
||
|
; CHECK: :8:39: error: expected metadata after comma
|
||
|
define void @use_alloca() {
|
||
|
%alloca = alloca i32, addrspace(1), align 4
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
!0 = !{}
|