Debian Codegraph @

clang/test/SemaCXX/pr100095.cpp

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