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

module hello;

namespace hello {
    say::say(int data) : data_(data) {

    }
    void say::hello() {
        cout << "hello, say class: " << data_ << endl;
    }
}