rust/tests/ui/attributes/issue-105594-invalid-attr-validation.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
187 B
Rust
Raw Normal View History

2022-12-12 12:08:59 +00:00
// This checks that the attribute validation ICE in issue #105594 doesn't
// recur.
fn main() {}
#[track_caller] //~ ERROR attribute should be applied to a function
static _A: () = ();