summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/dependence/src/hello.mpp
blob: 3f803afafc937d922bf01552cc270f26b398ae00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export module hello;

export namespace hello {
#ifdef _MSC_VER
    int data__;
#else
    extern int data__;
#endif
    void say_hello();

    class say {
    public:
        say(int data);
        void hello();
    
    private:
        int data_;
    };
}
/*
#ifndef _MSC_VER
export namespace {
    void anonymous() {
    }
}
#endif
*/