1
Fork 0

Stabilized #[repr(align(x))] attribute (RFC 1358)

This commit is contained in:
Cameron Hart 2017-12-26 10:24:23 +11:00
parent fdc18b3067
commit 651ea8ea44
14 changed files with 20 additions and 65 deletions

View file

@ -13,9 +13,6 @@
#![crate_type = "lib"]
#![feature(attr_literals)]
#![feature(repr_align)]
#[repr(align(64))]
pub struct Align64(i32);
// CHECK: %Align64 = type { [0 x i32], i32, [15 x i32] }