Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / cast2.C
blobbd0fe79233d2adfcaa86bba000e71eb41ce448c6
1 // { dg-do assemble  }
2 // The compiler tried to build up a double with a NOP_EXPR from
3 // integer_zero_node, which fails.
5 template <class T>
6 class vector  {
7 public:
8     vector (int n, const T& value = T()) {}
9 };
11 void
12 foo (void)
14   vector<double> v (10);