File tree Expand file tree Collapse file tree 3 files changed +61
-1
lines changed Expand file tree Collapse file tree 3 files changed +61
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 89df915a13454fbc9f51832394c7032716f70935
2
+ refs/heads/master: 2f61848b24bcb04f4eee3bd16851d3e654d66e20
Original file line number Diff line number Diff line change
1
+ // Issue #679
2
+ // Testing that comments are correctly interleaved
3
+ // pp-exact:vec-comments.pp
4
+ fn main() {
5
+ let v1 =
6
+ ~[
7
+ // Comment
8
+ 0,
9
+ // Comment
10
+ 1,
11
+ // Comment
12
+ 2];
13
+ let v2 =
14
+ ~[0, // Comment
15
+ 1, // Comment
16
+ 2]; // Comment
17
+ let v3 =
18
+ ~[
19
+ /* Comment */
20
+ 0,
21
+ /* Comment */
22
+ 1,
23
+ /* Comment */
24
+ 2];
25
+ let v4 =
26
+ ~[0, /* Comment */
27
+ 1, /* Comment */
28
+ 2]; /* Comment */
29
+ }
Original file line number Diff line number Diff line change
1
+ // Issue #679
2
+ // Testing that comments are correctly interleaved
3
+ // pp-exact:vec-comments.pp
4
+ fn main ( ) {
5
+ let v1 = ~[
6
+ // Comment
7
+ 0 ,
8
+ // Comment
9
+ 1 ,
10
+ // Comment
11
+ 2
12
+ ] ;
13
+ let v2 = ~[
14
+ 0 , // Comment
15
+ 1 , // Comment
16
+ 2 // Comment
17
+ ] ;
18
+ let v3 = ~[
19
+ /* Comment */
20
+ 0 ,
21
+ /* Comment */
22
+ 1 ,
23
+ /* Comment */
24
+ 2
25
+ ] ;
26
+ let v4 = ~[
27
+ 0 , /* Comment */
28
+ 1 , /* Comment */
29
+ 2 /* Comment */
30
+ ] ;
31
+ }
You can’t perform that action at this time.
0 commit comments