aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1810/repro.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1810/repro.vhdl')
-rw-r--r--testsuite/gna/issue1810/repro.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue1810/repro.vhdl b/testsuite/gna/issue1810/repro.vhdl
new file mode 100644
index 000000000..9fa6e8412
--- /dev/null
+++ b/testsuite/gna/issue1810/repro.vhdl
@@ -0,0 +1,8 @@
+entity repro is
+end;
+
+architecture behav of repro is
+ constant t1: time := 10 ns mod 3 ns;
+begin
+ assert t1 = 1 ns severity failure;
+end;