summaryrefslogtreecommitdiffhomepage
path: root/samples/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'samples/cxx')
-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() {