]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-8709.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / 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 }