aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/lab_rat.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/lab_rat.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/lab_rat.cpp b/test/lab_rat.cpp
new file mode 100644
index 0000000..24f75c6
--- /dev/null
+++ b/test/lab_rat.cpp
@@ -0,0 +1,20 @@
+#include <iostream>
+
+void baz() {
+ std::cout << "baz\n";
+}
+
+void bar() {
+ std::cout << "bar\n";
+ baz();
+}
+
+void foo() {
+ std::cout << "foo\n";
+ bar();
+}
+
+int main() {
+ foo();
+ return 0;
+}