// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s template struct identity; template struct tuple; template struct is_same { static const bool value = false; }; template struct is_same { static const bool value = true; }; // There is a syntactic ambiguity when an ellipsis occurs at the end // of a parameter-declaration-clause without a preceding comma. In // this case, the ellipsis is parsed as part of the // abstract-declarator if the type of the parameter names a template // parameter pack that has not been expanded; otherwise, it is parsed // as part of the parameter-declaration-clause. template struct X0 { typedef identity function_pack_1; typedef identity variadic_function_pack_1; typedef identity variadic_1; typedef tuple template_arg_expansion_1; }; // FIXME: Once function parameter packs are implemented, we can test all of the disambiguation