Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
imports
/
extern-crate-self
/
extern-crate-self-macro-item.rs
blob: 244293be7263643afc18348ccfbd2da52b94de2b [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
// Test that `extern crate self;` is accepted
// syntactically as an item for use in a macro.
macro_rules
!
accept_item
{
(
$x
:
item
)
=>
{}
}
accept_item
!
{
extern
crate
self
;
}
fn
main
()
{}