mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

- Move `tests/ui/attr-shebang.rs` to `tests/ui/attributes/`. - Downgrade test to `check-pass`, this would fail very early if the parser did not accept `#![..]` attributes. - Briefly document test intent.
8 lines
169 B
Rust
8 lines
169 B
Rust
//! Check that we accept crate-level inner attributes with the `#![..]` shebang syntax.
|
|
|
|
//@ check-pass
|
|
|
|
#![allow(stable_features)]
|
|
#![feature(rust1)]
|
|
pub fn main() { }
|