aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue618/e.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue618/e.vhdl')
-rw-r--r--testsuite/gna/issue618/e.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/gna/issue618/e.vhdl b/testsuite/gna/issue618/e.vhdl
new file mode 100644
index 000000000..7297d5121
--- /dev/null
+++ b/testsuite/gna/issue618/e.vhdl
@@ -0,0 +1,7 @@
+entity e is end entity;
+architecture a of e is
+ type t is range 0 to 1;
+ constant c :t := 7 - 6;
+begin
+ assert c = 3 report "c /= 3" severity note;
+end architecture;