summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/inline_and_template/src/foo.mpp
blob: 03e15d41394c5e4dbf1eb8d7d41ec3b71fe20e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export module foo;

export {
    template <typename>
    struct foo {
        constexpr const char* hello(void) const {
            return "hello typename!";
        }
    };

    // template <>
    // struct foo<int> {
    //     constexpr const char* hello(void) const {
    //         return "hello typename int!";
    //     }
    // };
}