Revision 56bc5a6c148d464fdabe62a97f9526747865d7e7 authored by Mishal Shah on 26 October 2017, 02:59:46 UTC, committed by GitHub on 26 October 2017, 02:59:46 UTC
Enable lldb build and package tests
multi-file-with-main.swift
// RUN: %target-swift-frontend -typecheck -enable-source-import -primary-file %s %S/Inputs/multi-file-with-main/main.swift -module-name=MultiFile -sdk "" -verify
func testOperator() {
let x: Int = 1 +++ "abc" // expected-error {{binary operator '+++' cannot be applied to operands of type 'Int' and 'String'}} expected-note {{expected an argument list of type '(Int, Int)'}}
_ = x
}
Computing file changes ...