summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/phony/src
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-09 19:51:04 +0800
committerruki <[email protected]>2025-11-09 19:51:04 +0800
commit91f6ed08fe32e36d555129efa4afdd82113f0eb4 (patch)
tree2bfee23488c8479c83833677262ee83b9e362cbb /tests/projects/c++/modules/phony/src
parentc89c94bf89e98c8e42e786aacc0b334a57474179 (diff)
format tests and templates
Diffstat (limited to 'tests/projects/c++/modules/phony/src')
-rw-r--r--tests/projects/c++/modules/phony/src/hello.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/projects/c++/modules/phony/src/hello.cpp b/tests/projects/c++/modules/phony/src/hello.cpp
index 38ecf20e3..fe5943e3c 100644
--- a/tests/projects/c++/modules/phony/src/hello.cpp
+++ b/tests/projects/c++/modules/phony/src/hello.cpp
@@ -7,11 +7,10 @@ module hello;
using namespace std;
namespace hello {
- say::say(int data) : data_(data) {
-
- }
+say::say(int data) : data_(data) {
+}
- void say::hello() {
- cout << "hello, say class: " << data_ << endl;
- }
+void say::hello() {
+ cout << "hello, say class: " << data_ << endl;
+}
} // namespace hello