rust/tests/source/issue-2445.rs

22 lines
470 B
Rust
Raw Normal View History

test!(RunPassPretty {
// comment
path: "src/test/run-pass/pretty",
mode: "pretty",
suite: "run-pass",
default: false,
host: true // should, force, , no trailing comma here
});
test!(RunPassPretty {
// comment
path: "src/test/run-pass/pretty",
mode: "pretty",
suite: "run-pass",
default: false,
host: true, // should, , preserve, the trailing comma
});
test!(Test{
field: i32, // comment
});