view gcc/testsuite/gcc.dg/sso/init1.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

struct __attribute__((scalar_storage_order("little-endian"))) R1
{
  int I;
};

struct __attribute__((scalar_storage_order("big-endian"))) R2
{
  int I;
};

struct R1 My_R1 = { 0x12345678 };
struct R2 My_R2 = { 0x12345678 };