summaryrefslogtreecommitdiff
path: root/tests/projects/c++/console/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 00:58:40 +0800
committerruki <[email protected]>2024-04-02 00:58:40 +0800
commit53a18e3ebc0455166031a8b7aa958825b86a307c (patch)
treec846c58f443f14716a18f800bb4eac0921f3984a /tests/projects/c++/console/src/main.cpp
parentd1ee61015c30cd08455b8d9bf85970b4ecaa079a (diff)
format tests and templates
Diffstat (limited to 'tests/projects/c++/console/src/main.cpp')
-rw-r--r--tests/projects/c++/console/src/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/projects/c++/console/src/main.cpp b/tests/projects/c++/console/src/main.cpp
index db2361659..7c775d288 100644
--- a/tests/projects/c++/console/src/main.cpp
+++ b/tests/projects/c++/console/src/main.cpp
@@ -1,9 +1,6 @@
#include <iostream>
-using namespace std;
-
-int main(int argc, char** argv)
-{
- cout << "hello world!" << endl;
+int main(int argc, char** argv) {
+ std::cout << "hello world!" << std::endl;
return 0;
}