OSDN Git Service

2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-46420.C
1 // PR c++/46420
2 // { dg-options -std=c++0x }
3
4 template<typename> class vector { };
5 struct A{};
6 template <class T1>
7 void complete_test(vector<T1> data1){
8         A drop=A();
9 }
10 int main(){
11   vector<double> vect1;
12   complete_test(vect1);
13 }