OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / attrib12.C
1 // PR c++/13791
2
3 template <typename T> struct O {
4   struct __attribute__((packed)) I {
5     int i;
6     char c;
7   };
8
9   I* foo();
10 };
11
12 template <typename T>
13 typename O<T>::I*
14 O<T>::foo() { return 0; }
15
16 template class O<int>;