summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/phony2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/phony2')
-rw-r--r--tests/projects/c++/modules/phony2/include/foo.h4
-rw-r--r--tests/projects/c++/modules/phony2/src/hello.cpp11
2 files changed, 8 insertions, 7 deletions
diff --git a/tests/projects/c++/modules/phony2/include/foo.h b/tests/projects/c++/modules/phony2/include/foo.h
index e66099202..025d24b7c 100644
--- a/tests/projects/c++/modules/phony2/include/foo.h
+++ b/tests/projects/c++/modules/phony2/include/foo.h
@@ -1 +1,3 @@
-inline int foo() { return 5; }
+inline int foo() {
+ return 5;
+}
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