diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-04 06:41:30 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-04 06:41:30 +0100 |
| commit | 4017e6408c162b0ab1b54a0427d443b56df5237e (patch) | |
| tree | 04d628712db204b984072e0bf5a5b6a10686e820 /tests | |
| parent | a9d9538f9f5b6fedbf69086d66ad5452d7f67129 (diff) | |
ADD: C++ compiler improvements.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/example.cc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/example.cc b/tests/example.cc index fd018d2..c73c712 100644 --- a/tests/example.cc +++ b/tests/example.cc @@ -1,8 +1,18 @@ #define AppMain int __ImageStart +#warning TestCase #1 + +int bar() +{ + int yyy = 5050505055; + return yyy; +} + +int foo() +{ + return bar(); +} AppMain() { - int x = 0; - x = 50; - return x; + return foo(); } |
