summaryrefslogtreecommitdiffstats
path: root/test cases/unit/2 testsetups/impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/2 testsetups/impl.c')
-rw-r--r--test cases/unit/2 testsetups/impl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/unit/2 testsetups/impl.c b/test cases/unit/2 testsetups/impl.c
new file mode 100644
index 0000000..d87f3de
--- /dev/null
+++ b/test cases/unit/2 testsetups/impl.c
@@ -0,0 +1,5 @@
+/* Write past the end. */
+
+void do_nasty(char *ptr) {
+ ptr[10] = 'n';
+}