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
Introduce class rtx_reader
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
packed10.C
blob
c4bbb1462d99e42555a1025aec417eb101ac1e61
1
// PR c++/13983, c++/17519
2
// The typedef and the array were causing us to miss that A<int> is
3
// a packed type.
4
5
template <class T>
6
struct A {
7
A();
8
} __attribute__((packed));
9
10
typedef A<int> Ai;
11
12
struct B {
13
Ai a[2];
14
} __attribute__((packed));