llvm-project/llvm/test/Assembler/ptr-outside-opaque-pointers...

8 lines
201 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: warning: ptr type is only supported in -opaque-pointers mode
; CHECK: error: expected type
define void @f(ptr %a) {
ret void
}