Skip to content

Commit

Permalink
Validation tests shouldn't check for diagnostics.
Browse files Browse the repository at this point in the history
  • Loading branch information
lattner committed Jul 31, 2016
1 parent 3f827c0 commit ee52ecc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: %target-swift-frontend %s -parse -verify
// RUN: not %target-swift-frontend %s -parse

// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// http://www.openradar.me/18041799
Expand All @@ -14,4 +14,4 @@
func a(b: Int = 0) {
}
let c = a
c() // expected-error {{missing argument for parameter #1 in call}}
c()

0 comments on commit ee52ecc

Please sign in to comment.