]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/ast-json/ast-json-ice.rs
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.
20 fn read(&self) -> Self::Output
;
21 fn write(&mut self, _
: Self::Output
);
24 macro_rules
! call_println
{
25 ($y
:ident
) => { println!("{}
", $y) }
29 #[cfg(any(target_arch = "x86
",
30 target_arch = "x86_64
",
32 target_arch = "aarch64
"))]
33 unsafe { llvm_asm!(""::::); }
36 let y = x as i64<> + 5;