aboutsummaryrefslogtreecommitdiff
path: root/test/test124.right-p.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test124.right-p.txt')
-rw-r--r--test/test124.right-p.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test124.right-p.txt b/test/test124.right-p.txt
new file mode 100644
index 000000000000..9f2252ebec77
--- /dev/null
+++ b/test/test124.right-p.txt
@@ -0,0 +1,15 @@
+static void
+doSomethingThenPrintHello(int test)
+{
+ test = test << 4;
+ if (test % 8 == 6) {
+ return;
+ }
+
+ print("goodbye\n");
+}
+
+struct testfile *
+return_test(int test) {
+ return test*2;
+}