blob: 8921504450b20c22fa8cb8ddb4d81a80ff40efdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// { dg-do assemble }
struct inttest {
int elem[1];
};
template <class T>
void F(T x)
{
typedef __typeof (x.elem[0]) dummy;
dummy i = 1;
}
int main() {
inttest x;
F(x);
}
|