summaryrefslogtreecommitdiffstats
path: root/tests/ui/unsafe/unsafe-block-without-braces.rs
blob: 4e461161854e67dd90ebb80aa60edc111bc40511 (plain)
1
2
3
4
5
6
fn main() {
    unsafe //{
        std::mem::transmute::<f32, u32>(1.0);
    //}
}
//~^^^ ERROR expected `{`, found `std`