rust/tests/ui/test-attrs/test-cant-be-shadowed.rs

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

14 lines
214 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be check-pass?)
2018-08-30 15:39:32 -05:00
// aux-build:test_macro.rs
// compile-flags:--test
#[macro_use] extern crate test_macro;
#[test]
fn foo(){}
2018-09-05 14:43:11 -05:00
macro_rules! test { () => () }
#[test]
fn bar() {}