summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug036/phys2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug036/phys2.vhdl')
-rw-r--r--testsuite/gna/bug036/phys2.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/bug036/phys2.vhdl b/testsuite/gna/bug036/phys2.vhdl
new file mode 100644
index 0000000..c86674f
--- /dev/null
+++ b/testsuite/gna/bug036/phys2.vhdl
@@ -0,0 +1,9 @@
+package phys2 is
+ subtype mybv is bit_vector (0 to 3600000);
+
+ type ANGLE is range mybv'range units
+ sec;
+ min = 60 sec;
+ deg = 60 min;
+ end units;
+end phys2;