repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr53970.C
blob
53cbc1f855a523e5d108727b498a5f9fbbce996a
1
// { dg-do run }
2
3
#pragma pack(1)
4
struct mystruct {
5
char c;
6
unsigned long l[1024];
7
};
8
#pragma pack()
9
10
int main(int argc, char **argv)
11
{
12
mystruct *a = new mystruct;
13
unsigned long i;
14
for (i = 0; i < 1024; ++i)
15
a->l[i] = 0xdeadbeaf;
16
return 0;
17
}