diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-02-04 18:26:21 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-02-04 18:26:21 +0100 |
commit | d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73 (patch) | |
tree | 25044d1c9b4660579b7b0ee366b971feb03ebc24 /src/vhdl | |
parent | 4fd8fb781846ae49791177ad57aeff6051c54507 (diff) | |
download | ghdl-d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73.tar.gz ghdl-d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73.tar.bz2 ghdl-d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73.zip |
testsuite/gna: add a test for previous commit.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-sem_utils.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_utils.adb b/src/vhdl/vhdl-sem_utils.adb index ac06e3ea9..bd4f20eef 100644 --- a/src/vhdl/vhdl-sem_utils.adb +++ b/src/vhdl/vhdl-sem_utils.adb @@ -60,6 +60,10 @@ package body Vhdl.Sem_Utils is Sig := Sig + 1; Hash := Hash * 7 + To_Hash (Itype); Hash := Hash + Hash / 2**28; + else + -- Non-object parameter are not allowed. + pragma Assert (Flags.Flag_Force_Analysis); + null; end if; Inter := Get_Chain (Inter); end loop; |