File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
branches/try2/src/test/run-pass Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: f2e2a14f364041fc5cb346fd308bb1777ca3c24c
8
+ refs/heads/try2: bfa43ca3011bd1296cb1797ad3ea1c5dc4056749
9
9
refs/heads/incoming: 05543fd04dfb3f63b453a331e239ceb1a9a219f9
10
10
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change
1
+ // no-reformat
2
+ // Testing various forms of `do` and `for` with empty arg lists
3
+
4
+ fn f ( f : fn ( ) -> bool ) {
5
+ }
6
+
7
+ fn main( ) {
8
+ do f( ) || { true }
9
+ do f( ) { true }
10
+ do f || { true }
11
+ do f { true }
12
+ for f ( ) || { }
13
+ for f ( ) { }
14
+ for f || { }
15
+ for f { }
16
+ }
You can’t perform that action at this time.
0 commit comments