Files
swift-mirror/test/NameBinding/multi-file-with-main.swift
2015-01-21 22:11:50 +00:00

8 lines
357 B
Swift

// RUN: %target-swift-frontend -parse -enable-source-import -primary-file %s %S/Inputs/multi-file-with-main/main.swift -module-name=MultiFile -sdk "" -verify
func testOperator() {
// FIXME: Lousy error message.
let x: Int = 1 +++ "abc" // expected-error {{binary operator '+++' cannot be applied to operands of type 'Int' and 'String'}}
println(x)
}