summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/class/src/hello_impl.cpp
blob: 5dd555a7a9788d44eed533f097d99f8c048222c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
    }
}