summaryrefslogtreecommitdiff
path: root/tests/read-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/read-timer.c')
-rw-r--r--tests/read-timer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/read-timer.c b/tests/read-timer.c
new file mode 100644
index 0000000..d7bb2c3
--- /dev/null
+++ b/tests/read-timer.c
@@ -0,0 +1,6 @@
+int timer;
+int *timerp = (int*)-3;
+void main() {
+ timer = *timerp;
+ g:goto g;
+}