File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
test/StringProcessing/Parse Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22
3- // RUN: %target-swift-frontend -parse -enable-bare-slash-regex -disable-availability-checking -experimental-skip-all-function-bodies -stats-output-dir %t %s
3+ // RUN: %target-swift-frontend -parse -enable-bare-slash-regex -disable-availability-checking -experimental-skip-all-function-bodies -verify - stats-output-dir %t %s
44// RUN: %{python} %utils/process-stats-dir.py --set-csv-baseline %t/stats.csv %t
55// RUN: %FileCheck -input-file %t/stats.csv %s
66
1313// we don't output any non-zero value.
1414// CHECK-NOT: {{"Parse.NumFunctionsParsed" [^0]}}
1515
16+ // Ensures there is a parse error
17+ var : Int // expected-error{{expected pattern}}
18+
1619// Balanced `{}`, so okay.
1720func a( ) { / {}/ }
1821func b( ) { / \{}/ }
You can’t perform that action at this time.
0 commit comments