summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/dependence2/src/main.cpp
blob: b5c04f1b257b90bfb1960a017536dea18ade451a (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

import foo;

int main() {
    printf("add(1, 2): %d\n", foo::add(1, 2));
    printf("sub(1, 2): %d\n", foo::sub(1, 2));
    return 0;
}