summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/dependence2/src/foo.mpp
blob: 5aac74086187e4517d6da6655d14c65a98be7fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export module foo;
import bar;
import cat;

export namespace foo {
    int add(int a, int b) {
        return bar::add(a, b);
    }
    int sub(int a, int b) {
        return cat::sub(a, b);
    }
}