kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

attr_p2_03_aligned_record.c (188B)


      1 /* Phase 2: __attribute__((aligned(16))) on a record raises _Alignof to 16. */
      2 struct __attribute__((aligned(16))) S {
      3   int x;
      4 };
      5 
      6 int test_main(void) { return (int)_Alignof(struct S); }