aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ef6f024d..56add2db 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -385,6 +385,9 @@ if 'benchmark' not in sys.argv:
int main(int argc, char **argv)
{
+ int x = 5, y = 9, magic = 7; // fool compiler with magic
+ memmove(&x, &y, magic-7); // 0 should not crash us
+
printf("*%d\\n", argc);
puts(argv[1]);
puts(argv[2]);