From 91f6ed08fe32e36d555129efa4afdd82113f0eb4 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 9 Nov 2025 19:51:04 +0800 Subject: format tests and templates --- tests/projects/c++/modules/phony2/src/hello.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/projects/c++/modules/phony2/src/hello.cpp') diff --git a/tests/projects/c++/modules/phony2/src/hello.cpp b/tests/projects/c++/modules/phony2/src/hello.cpp index 38ecf20e3..fe5943e3c 100644 --- a/tests/projects/c++/modules/phony2/src/hello.cpp +++ b/tests/projects/c++/modules/phony2/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 -- cgit v1.3.1