2011-08-16 11:37:35 -07:00
|
|
|
// Issue #679
|
|
|
|
// Testing that comments are correctly interleaved
|
|
|
|
// pp-exact:vec-comments.pp
|
|
|
|
fn main() {
|
2013-08-17 08:37:42 -07:00
|
|
|
let _v1 =
|
2014-03-05 15:28:08 -08:00
|
|
|
[
|
|
|
|
// Comment
|
2015-01-25 22:05:03 +01:00
|
|
|
0,
|
2014-03-05 15:28:08 -08:00
|
|
|
// Comment
|
2015-01-25 22:05:03 +01:00
|
|
|
1,
|
2014-03-05 15:28:08 -08:00
|
|
|
// Comment
|
2015-01-25 22:05:03 +01:00
|
|
|
2];
|
2013-08-17 08:37:42 -07:00
|
|
|
let _v2 =
|
2015-01-25 22:05:03 +01:00
|
|
|
[0, // Comment
|
|
|
|
1, // Comment
|
|
|
|
2]; // Comment
|
2013-08-17 08:37:42 -07:00
|
|
|
let _v3 =
|
2014-03-05 15:28:08 -08:00
|
|
|
[
|
|
|
|
/* Comment */
|
2015-01-25 22:05:03 +01:00
|
|
|
0,
|
2014-03-05 15:28:08 -08:00
|
|
|
/* Comment */
|
2015-01-25 22:05:03 +01:00
|
|
|
1,
|
2014-03-05 15:28:08 -08:00
|
|
|
/* Comment */
|
2015-01-25 22:05:03 +01:00
|
|
|
2];
|
2013-08-17 08:37:42 -07:00
|
|
|
let _v4 =
|
2015-01-25 22:05:03 +01:00
|
|
|
[0, /* Comment */
|
|
|
|
1, /* Comment */
|
|
|
|
2]; /* Comment */
|
2011-08-16 11:37:35 -07:00
|
|
|
}
|