kit

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

ldbl128_07_struct_storage.c (216B)


      1 struct Box {
      2   int a;
      3   long double x;
      4   int b;
      5 };
      6 
      7 int test_main(void) {
      8   if (__LDBL_MANT_DIG__ != 113) return 0;
      9   struct Box box;
     10   box.a = 7;
     11   box.x = 35.0L;
     12   box.b = 9;
     13   return box.a + (int)box.x + box.b;
     14 }