rt_gccstream/gcc/testsuite/g++.old-deja/g++.robertl/eb21.C

26 lines
364 B
C

// { dg-do run }
#include <vector>
#include <sstream>
using namespace std;
/*----------------------------------------*/
struct connection_t {
connection_t() {}
};
std::vector<connection_t> connections;
/*----------------------------------------*/
int
main() {
ostringstream str;
connections.insert(connections.end(), connection_t());
return 0;
}