aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/complex4.C
blob: 78b9356702e3c51242550d6eecdb897d60d8d479 (plain)
1
2
3
4
5
// { dg-do compile }
// This code used to be rejected as there was no conversion from int to float __complex__
 #include <vector>
 typedef float __complex__ fcomplex;
 std::vector<fcomplex> vfc(10);