blob: af8f1a1dd44155f3e5e14bdb315b9da9e0e5571e (
plain)
1
2
3
4
5
6
7
8
9
10
|
module;
#include <iostream>
// Foo-Impl.mpp
// can only be imported by module Foo, and visibility of bar is only public to module Foo
module Foo:Impl;
void bar() {
std::cout << "Hello world" << std::endl;
}
|