mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
9 lines
147 B
Rust
9 lines
147 B
Rust
//@ aux-build: test-macros.rs
|
|
|
|
extern crate test_macros;
|
|
|
|
#[test_macros::panic_attr] //~ ERROR custom attribute panicked
|
|
fn foo() {}
|
|
|
|
fn main() {}
|