summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0308.rs
blob: dd9e0b284eaa23ee59816dc2d9efe000f8321a21 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(intrinsics)]
#![feature(rustc_attrs)]

extern "rust-intrinsic" {
    #[rustc_safe_intrinsic]
    fn size_of<T>(); //~ ERROR E0308
}

fn main() {
}