summary refs log tree commit diff
path: root/src/test/ui/issues/issue-74082.rs
blob: 982f8ef02538baff3f8e6ff3343b84f9fa7f0608 (plain)
1
2
3
4
5
6
7
8
9
#![allow(dead_code)]

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

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

fn main() {}