diff options
Diffstat (limited to 'testsuite/pyunit/libghdl')
-rw-r--r-- | testsuite/pyunit/libghdl/Comments.py | 3 | ||||
-rw-r--r-- | testsuite/pyunit/libghdl/ent_arch.vhdl | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/Comments.py b/testsuite/pyunit/libghdl/Comments.py index 41bdacc66..ff45a8057 100644 --- a/testsuite/pyunit/libghdl/Comments.py +++ b/testsuite/pyunit/libghdl/Comments.py @@ -153,6 +153,9 @@ class Instantiate(TestCase): def test_entity_inside(self) -> None: self.checkFile(self._root / "ent_inside.vhdl") + def test_entity_arch(self) -> None: + self.checkFile(self._root / "ent_arch.vhdl") + @expectedFailure def test_arch_inside_fail(self) -> None: self.checkFile(self._root / "arch_inside_fail.vhdl") diff --git a/testsuite/pyunit/libghdl/ent_arch.vhdl b/testsuite/pyunit/libghdl/ent_arch.vhdl new file mode 100644 index 000000000..2283de701 --- /dev/null +++ b/testsuite/pyunit/libghdl/ent_arch.vhdl @@ -0,0 +1,10 @@ +-- :e1: comments before design units (javadoc / .net documentation style) +-- :e1: might be multiline +entity e1 is +end entity; + +-- :a1: comments before design units +-- :a1: might be multiline +architecture a1 of e1 is +begin +end architecture; |