You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
333 B
10 lines
333 B
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
|
|
|
|
template<class ...Types> struct Tuple;
|
|
|
|
Tuple<> *t0;
|
|
Tuple<int> *t1;
|
|
Tuple<int, char> *t2a;
|
|
Tuple<int, float> *t2b = t2a; // expected-error{{cannot initialize a variable of type 'Tuple<int, float> *' with an lvalue of type 'Tuple<int, char> *'}}
|
|
Tuple<int, float, double> *t3;
|