xref: /llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/p1.cpp (revision 9ca5c425826329d5b23300bbc8a1a7c10a19c64d)
1*9ca5c425SRichard Smith // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
29abeaf57SDouglas Gregor 
39abeaf57SDouglas Gregor template<class ...Types> struct Tuple;
49abeaf57SDouglas Gregor 
59abeaf57SDouglas Gregor Tuple<> *t0;
69abeaf57SDouglas Gregor Tuple<int> *t1;
79abeaf57SDouglas Gregor Tuple<int, char> *t2a;
89abeaf57SDouglas Gregor Tuple<int, float> *t2b = t2a; // expected-error{{cannot initialize a variable of type 'Tuple<int, float> *' with an lvalue of type 'Tuple<int, char> *'}}
99abeaf57SDouglas Gregor Tuple<int, float, double> *t3;
10