☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib12.C
☽
☼
gcc/testsuite/g++.dg/ext/attrib12.C
code
plain
raw
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>;