1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/Verifier/opaque-ptr-invalid.ll

8 lines
193 B
LLVM
Raw Normal View History

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