Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ext / typeof1.C
blob8921504450b20c22fa8cb8ddb4d81a80ff40efdd
1 // { dg-do assemble  }
3 struct inttest {
4   int elem[1];
5 };
7 template <class T>
8 void F(T x)
10   typedef __typeof (x.elem[0]) dummy;
11   dummy i = 1;
14 int main() {
15   inttest x;
16   F(x);