summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-46420.C
blob: 757a6e315b0deace8fe1b43b65b18364545575cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/46420
// { dg-options -std=c++0x }

template<typename> class vector { };
struct A{};
template <class T1>
void complete_test(vector<T1> data1){
        A drop=A();
}
int main(){
  vector<double> vect1;
  complete_test(vect1);
}