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 1
1
// RUN: %empty-directory(%t)
2
2
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
4
4
// RUN: %{python} %utils/process-stats-dir.py --set-csv-baseline %t/stats.csv %t
5
5
// RUN: %FileCheck -input-file %t/stats.csv %s
6
6
13
13
// we don't output any non-zero value.
14
14
// CHECK-NOT: {{"Parse.NumFunctionsParsed" [^0]}}
15
15
16
+ // Ensures there is a parse error
17
+ var : Int // expected-error{{expected pattern}}
18
+
16
19
// Balanced `{}`, so okay.
17
20
func a( ) { / {}/ }
18
21
func b( ) { / \{}/ }
You can’t perform that action at this time.
0 commit comments