blob: adf5448ffc09d7fc307708671ea8de0f4f78cce7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//@ run-pass
#![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!());
}
|