]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-8709.rs
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
[rust.git] / tests / ui / macros / issue-8709.rs
1 // run-pass
2
3 macro_rules! sty {
4     ($t:ty) => (stringify!($t))
5 }
6
7 macro_rules! spath {
8     ($t:path) => (stringify!($t))
9 }
10
11 fn main() {
12     assert_eq!(sty!(isize), "isize");
13     assert_eq!(spath!(std::option), "std::option");
14 }