llvm/test/Verifier/swiftself.ll
2016-03-29 17:37:21 +00:00

5 lines
164 B
LLVM

; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
declare void @a(i32* swiftself %a, i32* swiftself %b)
; CHECK: Cannot have multiple 'swiftself' parameters!