summaryrefslogtreecommitdiffhomepage
path: root/samples/cxx/example.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-09-07 10:28:11 +0200
committerGitHub <noreply@github.com>2025-09-07 10:28:11 +0200
commit8ec263be610df84a542e41d951758596793b3af8 (patch)
treee1aaf1009c6377df38f00c38a704672503be1420 /samples/cxx/example.cc
parent5ceadb853677c432e6161ea3f5ed83103d14a439 (diff)
parentb659a8d0bb9beaeb3d44dd0f4bde6f2d3f55ad24 (diff)
Merge pull request #13 from nekernel-org/devv0.0.5e1-release
v0.0.5e1: Code Generation improvements.
Diffstat (limited to 'samples/cxx/example.cc')
-rw-r--r--samples/cxx/example.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/cxx/example.cc b/samples/cxx/example.cc
index 9ee2a30..e74acbb 100644
--- a/samples/cxx/example.cc
+++ b/samples/cxx/example.cc
@@ -2,13 +2,13 @@
#warning test macro warning #1
int bar() {
- int yyy = 100;
+ auto yyy = 17800;
return yyy;
}
int foo() {
- int arg1 = 0;
- return bar();
+ int arg1 = bar();
+ return arg1;
}
int main() {