blob: 28c8a3768e61dbb83acb9789d08dcc908fcd4d2c [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Wall -O3" } */
#include <vector>
void foo(std::vector<unsigned int> &v);
void vtest()
{
std::vector<unsigned int> v;
foo (v);
if (v.size() > 0)
{
v.resize (v.size()-1);
}
}