Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
invalid-ptrauth-const2.ll
blob: 4499c42601c99e17c66365c53fa127edda701880 [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
@var
=
global
i32
0
; CHECK: error: constant ptrauth key must be i32 constant
@auth_var
=
global
ptr
ptrauth
(
ptr
@var
,
i32
ptrtoint
(
ptr
@var
to
i32
))