projects
/
modules.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
03bce8213a7d369334eb8488f6e75f229c4ec422
[modules.git]
/
main.cc
1
import helloworld;
2
3
#ifdef __clang__
4
import std;
5
#else // not yet in GCC 12.2 :-(
6
import <string>;
7
import <iostream>;
8
#endif
9
10
int main() {
11
helloworld:HelloWorld h;
12
std::string s = h.hello();
13
std::cout << s << '\n';
14
return 0;
15
}