llvm/test/Verifier/swiftself.ll

5 lines
164 B
LLVM
Raw Normal View History

; 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!