URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [pragma3.C] - Rev 775
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/25294// Epiphany makes struct S 8-byte aligned.// { dg-do run { target { ! epiphany-*-* } } }extern "C" void abort (void);struct S{char a[3];#pragma pack(1) /* A block commentthat ends on the next line. */struct T{char b;int c;} d;#pragma pack /*/ */ () // C++ commentint e;} s;intmain (){if (sizeof (int) == 4 && sizeof (s) != 12)abort ();return 0;}
Go to most recent revision | Compare with Previous | Blame | View Log
