Files
swift-mirror/test/diagnostics/Localization/en_localization.swift
2021-03-23 10:44:40 +02:00

13 lines
449 B
Swift

// RUN: %target-typecheck-verify-swift -localization-path %S/Inputs -locale en
_ = "HI!
// expected-error@-1{{unterminated string literal}}
var self1 = self1
// expected-note@-1 2{{through reference here}}
// expected-error@-2 {{circular reference}}
struct Broken {
var b : Bool = True // expected-error{{cannot find 'True' in scope}}
}
var v1 : Int[1 // expected-error {{expected ']' in array type}} expected-note {{to match this opening '['}}