summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-74082.rs
blob: e3e400c79d658f651c36b82d1f39e95d32216192 (plain)
1
2
3
4
5
6
7
8
9
#![allow(dead_code)]

#[repr(i128)] //~ ERROR: attribute should be applied to an enum
struct Foo;

#[repr(u128)] //~ ERROR: attribute should be applied to an enum
struct Bar;

fn main() {}