blob: 36d7a8c6284bfe6998f4150490ce0aaaa13a5cd0 [file] [log] [blame]
// PR c++/25294
// { dg-do run }
extern "C" void abort (void);
struct S
{
char a[3];
#pragma pack(1) /* A block comment
that ends on the next line. */
struct T
{
char b;
int c;
} d;
#pragma pack /*/ */ () // C++ comment
int e;
} s;
int
main ()
{
if (sizeof (int) == 4 && sizeof (s) != 12)
abort ();
return 0;
}