| 1 |
// { dg-additional-options -fmodules-ts } |
| 2 |
// { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } } |
| 3 |
|
| 4 |
#include <iostream> |
| 5 |
import module1; |
| 6 |
|
| 7 |
int main(int argc, char const *argv[]) { |
| 8 |
nmspc::Cl1 c1; |
| 9 |
std::cout << c1.x; |
| 10 |
return 0; |
| 11 |
} |