[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / packed10.C
blobc4bbb1462d99e42555a1025aec417eb101ac1e61
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.
5 template <class T>
6 struct A {
7   A();
8 } __attribute__((packed));
10 typedef A<int> Ai;
12 struct B {
13   Ai a[2];
14 } __attribute__((packed));