mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
17 lines
277 B
Bash
17 lines
277 B
Bash
#!//bin/bash
|
|
|
|
|
|
// This could not possibly be a shebang & also a valid rust file, since a Rust file
|
|
// can't start with `[`
|
|
/*
|
|
[ (mixing comments to also test that we ignore both types of comments)
|
|
|
|
*/
|
|
|
|
[allow(unused_variables)]
|
|
|
|
// check-pass
|
|
fn main() {
|
|
let x = 5;
|
|
}
|