summaryrefslogtreecommitdiff
path: root/tests/headers/anonymous-template-types.hpp
blob: d4ad534b2b5296b4ff2cdc7df3fbd2529a65a594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// bindgen-flags:  --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++14

template <typename T, typename>
struct Foo {
    T t_member;
};

template <typename U, typename>
struct Bar {
    char member;
};

template <typename, typename V>
struct Quux {
    V v_member;
};

template <typename, typename W>
struct Lobo {
    char also_member;
};

template <typename>
using AliasWithAnonType = char;