diff options
Diffstat (limited to 'src/ortho/oread/tests/acc2.on')
-rw-r--r-- | src/ortho/oread/tests/acc2.on | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ortho/oread/tests/acc2.on b/src/ortho/oread/tests/acc2.on new file mode 100644 index 000000000..faf786282 --- /dev/null +++ b/src/ortho/oread/tests/acc2.on @@ -0,0 +1,15 @@ +type __ghdl_file_index_ptr is access; + +type __ghdl_file_index is unsigned (32); + +type __ghdl_file_index_ptr is access __ghdl_file_index; + +public var acc1 : __ghdl_file_index_ptr; + +public function Get () return __ghdl_file_index +declare +begin + -- return __ghdl_file_index'[0]; + return acc1.all; +end; + |