Files
swift-mirror/test/Parse/debugger.swift
Chris Lattner 1a0a0315fe wordsmith a diagnostic, NFC otherwise.
Swift SVN r30731
2015-07-28 23:35:25 +00:00

11 lines
279 B
Swift

// RUN: %target-parse-verify-swift -debugger-support
import Nonexistent_Module // expected-error {{no such module}}
var ($x0, $x1) = (4, 3)
var z = $x0 + $x1
z // no error.
var x: Double = z // expected-error {{cannot convert value of type 'Int' to specified type 'Double'}}