summaryrefslogtreecommitdiff
path: root/tests/headers/anonymous-template-types.hpp
blob: 34924fc9433ebcd3945a33fa11305ab240951d62 (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 -- -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;