modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/20000314-2.c (about)

     1  typedef unsigned long long uint64;
     2  const uint64 bigconst = 1ULL << 34;
     3  
     4  int a = 1;
     5  
     6  static
     7  uint64 getmask(void)
     8  {
     9      if (a)
    10        return bigconst;
    11      else
    12        return 0;
    13  }
    14  
    15  main()
    16  {
    17      uint64 f = getmask();
    18      if (sizeof (long long) == 8
    19  	&& f != bigconst) abort ();
    20      exit (0);
    21  }
    22  
    23