1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s
4 template <class> struct Pair
;
5 template <class...> struct Tuple
{
6 template <class _Up
> Tuple(_Up
);
8 template <typename
> struct StatusOr
;
9 template <int> using ElementType
= int;
10 template <int... fields
>
11 using Key
= Tuple
<ElementType
<fields
>...>;
12 template <int... fields
>
13 StatusOr
<Pair
<Key
<fields
...>>> Parser();
14 struct Helper
{ Helper(Tuple
<>, Tuple
<>, int, int); };
16 D(Key
<> f
, int n
, int e
) : Helper(f
, Parser
<>, n
, e
) {}