Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
invalid-opaque-ptr.ll
blob: 6e8340b4cae987a27880c9fd072a65970145a6cc [
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
%a
)
{
%b
=
bitcast
ptr
%a
to
ptr
*
ret
void
}