mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
7 lines
278 B
Swift
7 lines
278 B
Swift
// RUN: %swift %s -parse -verify
|
||
|
||
var <EFBFBD>x = "" // expected-error{{invalid UTF-8 found in source file}} expected-error{{expected pattern}}
|
||
|
||
// Make sure we don't stop processing the whole file.
|
||
type func foo() {} // expected-error{{type functions may only be declared on a type}}
|