[compiler-rt] Add weak defs for .*contiguous_container.* functions (#120376)
[llvm-project.git] / clang / test / CXX / temp / temp.decls / temp.variadic / p1.cpp
blobdaff9d189690320122304310afba0702c952e3a7
1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
3 template<class ...Types> struct Tuple;
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;