Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
invalid-opaque-ptr-addrspace.ll
blob: f3d7722891cb6a06d6e59a090c7ff859b91edcac [
file
] [
log
] [
blame
]
; 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
}