mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 19:43:43 +00:00
16 lines
221 B
Rust
16 lines
221 B
Rust
#[repr(C)] //~ ERROR: E0517
|
|
type Foo = u8;
|
|
|
|
#[repr(packed)] //~ ERROR: E0517
|
|
enum Foo2 {Bar, Baz}
|
|
|
|
#[repr(u8)] //~ ERROR: E0517
|
|
struct Foo3 {bar: bool, baz: bool}
|
|
|
|
#[repr(C)] //~ ERROR: E0517
|
|
impl Foo3 {
|
|
}
|
|
|
|
fn main() {
|
|
}
|