(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pragma-pack-3.c
       1  /* PR c++/25294 */
       2  /* { dg-options "-std=gnu99" } */
       3  /* Epiphany makes struct S 8-byte aligned.  */
       4  /* { dg-do run { target { ! epiphany-*-* } } } */
       5  
       6  extern void abort (void);
       7  
       8  struct S
       9  {
      10    char a[3];
      11  #pragma pack(1) /* A block comment
      12  		   that ends on the next line.  */
      13    struct T
      14    {
      15      char b;
      16      int c;
      17    } d;
      18  #pragma pack /*/ */ () // C++ comment
      19    int e;
      20  } s;
      21  
      22  int
      23  main ()
      24  {
      25    if (sizeof (int) == 4 && sizeof (s) != 12)
      26      abort ();
      27    return 0;
      28  }