Files
swift-mirror/validation-test/compiler_crashers_2_fixed/sr11599.swift

16 lines
271 B
Swift

// RUN: %target-swift-frontend -typecheck %s -verify
@propertyWrapper
struct A {
var wrappedValue: Int
}
@propertyWrapper
struct B {
var wrappedValue: Int
}
struct C {
@A @B var foo: Int // expected-error{{extraneous argument label 'wrappedValue:' in call}}
}