summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug08/paren3.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug08/paren3.vhdl')
-rw-r--r--testsuite/gna/bug08/paren3.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren3.vhdl b/testsuite/gna/bug08/paren3.vhdl
new file mode 100644
index 0000000..213b24e
--- /dev/null
+++ b/testsuite/gna/bug08/paren3.vhdl
@@ -0,0 +1,10 @@
+entity paren3 is
+end paren3;
+
+architecture behav of paren3
+is
+ subtype a is integer;
+ constant b : real := 3.15;
+begin
+ assert a(b) = 3;
+end behav;