Sign in
fuchsia
/
third_party
/
rust
/
36e58ea6bf7aa104bad78f5e291d53887678c283
/
.
/
src
/
test
/
ui
/
proc-macro
/
attributes-on-modules.rs
blob: 6c73b0bf19c7f845391a47e2b9d6ab29619e0cda [
file
] [
log
] [
blame
]
// check-pass
// aux-build:test-macros.rs
#[
macro_use
]
extern
crate test_macros
;
#[
identity_attr
]
mod
m
{
pub
struct
S
;
}
#[
identity_attr
]
fn
f
()
{
mod
m
{}
}
fn
main
()
{
let
s
=
m
::
S
;
}