2011-08-16 18:37:35 +00:00
|
|
|
// Issue #679
|
|
|
|
// Testing that comments are correctly interleaved
|
2024-02-21 12:37:58 +00:00
|
|
|
//@ pp-exact:vec-comments.pp
|
2011-08-16 18:37:35 +00:00
|
|
|
fn main() {
|
2013-08-17 15:37:42 +00:00
|
|
|
let _v1 =
|
2014-03-05 23:28:08 +00:00
|
|
|
[
|
2022-01-21 09:34:06 +00:00
|
|
|
// Comment
|
|
|
|
0,
|
|
|
|
// Comment
|
|
|
|
1,
|
|
|
|
// Comment
|
|
|
|
2];
|
2013-08-17 15:37:42 +00:00
|
|
|
let _v2 =
|
2015-01-25 21:05:03 +00:00
|
|
|
[0, // Comment
|
2022-01-21 09:34:06 +00:00
|
|
|
1, // Comment
|
|
|
|
2]; // Comment
|
2013-08-17 15:37:42 +00:00
|
|
|
let _v3 =
|
2014-03-05 23:28:08 +00:00
|
|
|
[
|
2022-01-21 09:34:06 +00:00
|
|
|
/* Comment */
|
|
|
|
0,
|
|
|
|
/* Comment */
|
|
|
|
1,
|
|
|
|
/* Comment */
|
|
|
|
2];
|
2013-08-17 15:37:42 +00:00
|
|
|
let _v4 =
|
2015-01-25 21:05:03 +00:00
|
|
|
[0, /* Comment */
|
2022-01-21 09:34:06 +00:00
|
|
|
1, /* Comment */
|
|
|
|
2]; /* Comment */
|
2011-08-16 18:37:35 +00:00
|
|
|
}
|