diff options
Diffstat (limited to 'src/ortho/oread/tests/run_neg.on')
-rw-r--r-- | src/ortho/oread/tests/run_neg.on | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ortho/oread/tests/run_neg.on b/src/ortho/oread/tests/run_neg.on new file mode 100644 index 000000000..d7ec2dcc0 --- /dev/null +++ b/src/ortho/oread/tests/run_neg.on @@ -0,0 +1,7 @@ +type __ghdl_index_type is signed (32); + +public function main (a : __ghdl_index_type) return __ghdl_index_type +declare +begin + return -a; +end; |