repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
alloca-addrspace-parse-error-1.ll
blob
5209f417da63725069f0b250a56fe019a73942ed
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3
target datalayout = "A1"
4
5
; addrspace and align in wrong order
6
; CHECK: :8:39: error: expected metadata after comma
7
define void @use_alloca() {
8
%alloca = alloca i32, addrspace(1), align 4
9
ret void
10
}
11
12
!0 = !{}