summaryrefslogtreecommitdiffstats
path: root/tests/pretty/auto-trait.rs
blob: c3c47cff5eda9a600dfcff80fab4aa10956d0502 (plain)
1
2
3
4
5
6
7
8
9
#![feature(auto_traits)]

// pp-exact

auto trait MyTrait {}

unsafe auto trait UnsafeMyTrait {}

pub fn main() {}