mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
13 lines
216 B
Rust
13 lines
216 B
Rust
// check-pass
|
|
// aux-build:test-macros.rs
|
|
|
|
#[macro_use]
|
|
extern crate test_macros;
|
|
|
|
#[derive(Empty)]
|
|
#[empty_helper] // OK, this is both derive helper and legacy derive helper
|
|
#[derive(Empty)]
|
|
struct S;
|
|
|
|
fn main() {}
|