summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-04-25 13:14:01 +0200
committerAmlal <amlal@nekernel.org>2025-04-25 13:14:01 +0200
commit20042235d1f53ae428aa154e64afdbae5d8d91ad (patch)
tree6ea42d1b30505a57301f8ff2916c78ce94ff6eaf /tests
parent0561a8d0a6ae7588309a6e3513bbfeeef5f0aa15 (diff)
meta: update .clang-format, format codebase.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/example.cc19
1 files changed, 8 insertions, 11 deletions
diff --git a/tests/example.cc b/tests/example.cc
index 718e46f..83e664a 100644
--- a/tests/example.cc
+++ b/tests/example.cc
@@ -1,19 +1,16 @@
#define AppMain int __ImageStart
#warning TestCase #1
-int bar()
-{
- int yyy = 100;
- return yyy;
+int bar() {
+ int yyy = 100;
+ return yyy;
}
-int foo()
-{
- int arg1 = 0;
- return bar();
+int foo() {
+ int arg1 = 0;
+ return bar();
}
-AppMain()
-{
- return foo();
+AppMain() {
+ return foo();
}