Home | History | Annotate | Download | only in temp.variadic
      1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
      2 
      3 template<class ...Types> struct Tuple;
      4 
      5 Tuple<> *t0;
      6 Tuple<int> *t1;
      7 Tuple<int, char> *t2a;
      8 Tuple<int, float> *t2b = t2a; // expected-error{{cannot initialize a variable of type 'Tuple<int, float> *' with an lvalue of type 'Tuple<int, char> *'}}
      9 Tuple<int, float, double> *t3;
     10