blob: 0f7116416d1dabae5127b5f5ca31cab86bac8af7 (
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;
}
|