| 1 |
// { dg-do compile } |
| 2 |
// { dg-skip-if "requires hosted libstdc++ for vector" { ! hostedlib } } |
| 3 |
// This code used to be rejected as there was no conversion from int to float __complex__ |
| 4 |
#include <vector> |
| 5 |
typedef float __complex__ fcomplex; |
| 6 |
std::vector<fcomplex> vfc(10); |