diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-08-23 02:00:49 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-08-23 02:00:49 +0200 |
commit | 76ff857489906785d9e100c67302110d68dc7c8a (patch) | |
tree | a093a4f6430a8ba8572f0c575ff06bace35fabe4 /testsuite/gna/issue636/e.vhdl | |
parent | c6ea9fa41ffa9cc0294bde8da14739a8eb7ac93d (diff) | |
download | ghdl-76ff857489906785d9e100c67302110d68dc7c8a.tar.gz ghdl-76ff857489906785d9e100c67302110d68dc7c8a.tar.bz2 ghdl-76ff857489906785d9e100c67302110d68dc7c8a.zip |
Add testcase for #636
Diffstat (limited to 'testsuite/gna/issue636/e.vhdl')
-rw-r--r-- | testsuite/gna/issue636/e.vhdl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gna/issue636/e.vhdl b/testsuite/gna/issue636/e.vhdl new file mode 100644 index 000000000..df1b87803 --- /dev/null +++ b/testsuite/gna/issue636/e.vhdl @@ -0,0 +1,5 @@ +entity e is + function f(x:bit) return bit is begin return '0'; end function; + attribute a :bit; + constant c :bit := f('0')'a; +end entity; |