bolt/deps/llvm-18.1.8/llvm/test/Assembler/invalid-opaque-ptr.ll
2025-02-14 19:21:04 +01:00

7 lines
176 B
LLVM

; 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
}