From 67f99e8d70a783eff537d567005fba392899238e Mon Sep 17 00:00:00 2001
From: Virgile Prevosto <virgile.prevosto@m4x.org>
Date: Wed, 6 Sep 2023 09:43:31 +0200
Subject: [PATCH] add test case reproducing fatal error

---
 tests/syntax/binary_op.i                 | 6 ++++++
 tests/syntax/oracle/binary_op.res.oracle | 0
 2 files changed, 6 insertions(+)
 create mode 100644 tests/syntax/binary_op.i
 create mode 100644 tests/syntax/oracle/binary_op.res.oracle

diff --git a/tests/syntax/binary_op.i b/tests/syntax/binary_op.i
new file mode 100644
index 00000000000..768af5955de
--- /dev/null
+++ b/tests/syntax/binary_op.i
@@ -0,0 +1,6 @@
+/* run.config
+EXIT: 1
+STDOPT:
+*/
+
+int v(void) { return 0 & v; }
diff --git a/tests/syntax/oracle/binary_op.res.oracle b/tests/syntax/oracle/binary_op.res.oracle
new file mode 100644
index 00000000000..e69de29bb2d
-- 
GitLab