blob: bcb24d4b8618cb45a8c3c4595eb1cec86e4f8c50 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift
let nonBreakingSpace1 = 3 // expected-warning {{non-breaking space (U+00A0) used instead of regular space}} {{22-24= }}
let nonBreakingSpace2 3 // expected-warning {{non-breaking space (U+00A0) used instead of regular space}} {{24-26= }}
func foo() {
    _ = 42 // expected-warning {{non-breaking space (U+00A0) used instead of regular space}} {{1-9= }}
}