blob: 9118d284f2b9704409337b5bb14186915cdb72da [file] [log] [blame]
// RUN: %target-swift-frontend -module-name TestModule -parse -verify -suppress-argument-labels-in-types %s
typealias Tuple1 = (a: Int,
b _: Int, // expected-error{{tuple element cannot have two labels}}{{22-24=}}
_ c: Int, // expected-error{{tuple element cannot have two labels}}{{21-26=}}
d e: Int) // expected-error{{tuple element cannot have two labels}}{{22-24=}}