summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/class/src/hello_impl.cpp
blob: b09f4b96c6e1bf853c1b708c81dbcb7575839e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module;
#include <iostream>

module hello;

using namespace std;
namespace hello {
say::say(int data) : data_(data) {
}
void say::hello() {
    cout << "hello, say class: " << data_ << endl;
}
} // namespace hello