aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-20 20:22:12 +0100
committerlemon <lsof@mailbox.org>2025-12-20 20:22:12 +0100
commit3ff0bfcb86427ea33cd94fde1336dd6687fb5f99 (patch)
treee25496bc2277cfbb406200544bf17b8929b8f9bb /test
parent9721d6ba4036c325a7bdecbf867927566f78e81e (diff)
rega: fix infinite loop when compiling infinite loop
Diffstat (limited to 'test')
-rw-r--r--test/06-goto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/06-goto.c b/test/06-goto.c
index 075467c..a0f2457 100644
--- a/test/06-goto.c
+++ b/test/06-goto.c
@@ -22,6 +22,11 @@ e:
x <<= 1;
goto b;
}
+void dummy() {
+ for (;;) {
+ ;
+ }
+}
int printf(const char *, ...);
int main(int n) {