rust/tests/ui/macros/log_syntax-trace_macros-macro-locations.rs

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

23 lines
367 B
Rust
Raw Normal View History

// run-pass
// pretty-expanded FIXME #23616
2014-04-03 20:02:50 +00:00
#![feature(trace_macros, log_syntax)]
// make sure these macros can be used as in the various places that
// macros can occur.
// items
trace_macros!(false);
log_syntax!();
fn main() {
// statements
trace_macros!(false);
log_syntax!();
// expressions
(trace_macros!(false),
log_syntax!());
}