diff options
author | Tristan Gingold | 2016-01-24 05:46:50 +0100 |
---|---|---|
committer | Tristan Gingold | 2016-01-24 12:11:45 +0100 |
commit | a50d94cacf00abb828f4a24ca630b3438100b396 (patch) | |
tree | de41397c546bf03ce5b60a5b037b8b1f774fc9af /testsuite/gna/bug036/phys2.vhdl | |
parent | cd068a5566866dbddffd51ecadc50d601e000d3e (diff) | |
download | ghdl-a50d94cacf00abb828f4a24ca630b3438100b396.tar.gz ghdl-a50d94cacf00abb828f4a24ca630b3438100b396.tar.bz2 ghdl-a50d94cacf00abb828f4a24ca630b3438100b396.zip |
Add testcase for incorrect syntax in physical type.
Diffstat (limited to 'testsuite/gna/bug036/phys2.vhdl')
-rw-r--r-- | testsuite/gna/bug036/phys2.vhdl | 9 |
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; |