mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
2685e7847d
Verifying opaque pointer as function parameter when using with `byval`, `byref`, `inalloca`, `preallocated`. Differential Revision: https://reviews.llvm.org/D104309
8 lines
193 B
LLVM
8 lines
193 B
LLVM
; 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
|
|
}
|