diff options
| author | ruki <[email protected]> | 2021-10-10 23:03:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-10 23:03:20 +0800 |
| commit | 2a231e4654c2569c347e27351a28ea6c4e95cf0c (patch) | |
| tree | 7b5a30bd80268bc71f6b9bd5e707a93bdbb2b905 /tests/projects/c++/modules/dependence/src | |
| parent | f7d079c1a5eef8d875b25e383132e6c114b7e48a (diff) | |
fix module tests
Diffstat (limited to 'tests/projects/c++/modules/dependence/src')
| -rw-r--r-- | tests/projects/c++/modules/dependence/src/hello_impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/c++/modules/dependence/src/hello_impl.cpp b/tests/projects/c++/modules/dependence/src/hello_impl.cpp index 5dbc009f4..064afebad 100644 --- a/tests/projects/c++/modules/dependence/src/hello_impl.cpp +++ b/tests/projects/c++/modules/dependence/src/hello_impl.cpp @@ -1,6 +1,7 @@ -module hello; - +module; #include <iostream> + +module hello; import mod; void inner() { @@ -13,7 +14,6 @@ namespace hello { void say_hello() { ::inner(); } say::say(int data) : data_{data} { - } void say::hello() { |
