mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
14 lines
397 B
LLVM
14 lines
397 B
LLVM
|
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
||
|
|
||
|
declare void @a() readnone writeonly
|
||
|
; CHECK: Attributes {{.*}} are incompatible
|
||
|
|
||
|
declare void @b() readonly writeonly
|
||
|
; CHECK: Attributes {{.*}} are incompatible
|
||
|
|
||
|
declare void @c(i32* readnone writeonly %p)
|
||
|
; CHECK: Attributes {{.*}} are incompatible
|
||
|
|
||
|
declare void @d(i32* readonly writeonly %p)
|
||
|
; CHECK: Attributes {{.*}} are incompatible
|