summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/inline_and_template/src/main.cpp
blob: bf68f307d411ee100f9a34f06b47f47a696dda93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>

import hello;
import say;
import foo;

int main() {
    hello::say_hello();
    say{}.hello<sizeof(say)>();
    std::cout << foo<int>{}.hello() << std::endl;
    return 0;
}