about summary refs log tree commit diff
path: root/tests/ui/attributes/unsafe/unsafe-safe-attribute.rs
blob: 5af03a2b8d137a9ca320b88586841c6ff3d9a5b5 (plain)
1
2
3
4
#[unsafe(repr(C))] //~ ERROR: is not an unsafe attribute
struct Foo {}

fn main() {}