Initial revision
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p3524c.C
blobd901e19a265a9339add2d3a37f7ae764ee7b0103
1 // Make sure we can cast to a templated type, that requires a conversion by
2 // constructor, from a non-aggregate type.
4 // Build don't link:
5 // prms-id: 3524
7 template <class T>
8 struct ccPair {
9     ccPair (int i) { }
12 void foo ()
14   (ccPair<float>)1;