llvm-project/llvm/test/Verifier/opaque-ptr-invalid.ll
Nikita Popov edb2fc6dab [llvm] Remove explicit -opaque-pointers flag from tests (NFC)
Opaque pointers mode is enabled by default, no need to explicitly
enable it.
2023-07-12 14:35:55 +02:00

8 lines
192 B
LLVM

; RUN: not opt -passes=verify < %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
}