llvm-project/llvm/test/Verifier/opaque-ptr-invalid.ll
2022-12-09 02:07:27 +03:00

8 lines
209 B
LLVM

; RUN: not opt -passes=verify -opaque-pointers < %s 2>&1 | FileCheck %s
; CHECK: Attribute 'inalloca' does not support unsized types!
; CHECK-NEXT: ptr @f
define void @f(ptr inalloca(token)) {
ret void
}