mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
8 lines
215 B
LLVM
8 lines
215 B
LLVM
|
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
|
||
|
|
||
|
; CHECK: ptr* is invalid - use ptr instead
|
||
|
define void @f(ptr addrspace(3) %a) {
|
||
|
%b = bitcast ptr addrspace(3) %a to ptr addrspace(3)*
|
||
|
ret void
|
||
|
}
|