p4.cpp revision dace95b13e2ceb0c3ec8de6babd926dc5114e1e5
1// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s 2 3template<typename... Types> struct Tuple; 4 5// FIXME: Many more bullets to go 6 7// In a template-argument-list (14.3); the pattern is a template-argument. 8template<typename ...Types> 9struct tuple_of_refs { 10 typedef Tuple<Types& ...> types; 11}; 12 13Tuple<int&, float&> *t_int_ref_float_ref; 14tuple_of_refs<int&, float&>::types *t_int_ref_float_ref_2 = t_int_ref_float_ref; 15 16