diff --git a/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp b/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp index db4db7ddd26e..b4f7c09981ff 100644 --- a/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp +++ b/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp @@ -1,15 +1,28 @@ // RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s -template struct Tuple; +template struct tuple; // FIXME: Many more bullets to go // In a template-argument-list (14.3); the pattern is a template-argument. template struct tuple_of_refs { - typedef Tuple types; + typedef tuple types; }; -Tuple *t_int_ref_float_ref; +tuple *t_int_ref_float_ref; tuple_of_refs::types *t_int_ref_float_ref_2 = t_int_ref_float_ref; +template +struct extract_nested_types { + typedef tuple types; +}; + +template +struct identity { + typedef T type; +}; + +tuple *t_int_float; +extract_nested_types, identity >::types *t_int_float_2 + = t_int_float;