blob: cbdea6324d1bd73ee47ca0161cb64f9ea9cbd825 [file] [log] [blame]
// RUN: %target-parse-verify-swift -solver-memory-threshold 4000
var x = [1, 2, 3, 4.5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ,19] // expected-error{{expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions}}
// No errors should appear below as a result of the error above.
var y = 10
var z = 10 + 10
class C {}
var c = C()
var d = c