From a50d94cacf00abb828f4a24ca630b3438100b396 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 24 Jan 2016 05:46:50 +0100 Subject: Add testcase for incorrect syntax in physical type. --- testsuite/gna/bug036/phys2.vhdl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testsuite/gna/bug036/phys2.vhdl (limited to 'testsuite/gna/bug036/phys2.vhdl') 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; -- cgit