mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-16 07:50:18 +08:00
New test.
From-SVN: r36600
This commit is contained in:
parent
5a864cbf17
commit
07035c0fc6
12
gcc/testsuite/gcc.c-torture/execute/packed-2.c
Normal file
12
gcc/testsuite/gcc.c-torture/execute/packed-2.c
Normal file
@ -0,0 +1,12 @@
|
||||
typedef struct s {
|
||||
unsigned short a;
|
||||
unsigned long b __attribute__ ((packed));
|
||||
} s;
|
||||
|
||||
s t;
|
||||
|
||||
int main()
|
||||
{
|
||||
t.b = 0;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user