1 // Test that AST json serialization doesn't ICE (#63728).
3 // revisions: expand noexpand
5 //[expand] compile-flags: -Zast-json
6 //[noexpand] compile-flags: -Zast-json-noexpand
9 // dont-check-compiler-stdout - don't check for any AST change.
18 fn read(&self) -> Self::Output;
19 fn write(&mut self, _: Self::Output);
22 macro_rules! call_println {
23 ($y:ident) => { println!("{}", $y) }
28 let y = x as i64<> + 5;
35 // Regressions tests for issues #78398 and #78510 (captured tokens in associated and foreign items)
39 macro_rules! mac_extern {
44 macro_rules! mac_assoc {