diff options
author | Marlon James <marlon.james@gmail.com> | 2021-03-03 12:06:53 -0800 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-03-04 07:49:28 +0100 |
commit | 062ff5b6a41caf93e03c417e31a8a6471993abf1 (patch) | |
tree | fcc773b7c6a153e911120ee611945bb3347e91c2 /testsuite/vhpi/003load_multi_lib/vhpi_lib1.c | |
parent | 783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e (diff) | |
download | ghdl-062ff5b6a41caf93e03c417e31a8a6471993abf1.tar.gz ghdl-062ff5b6a41caf93e03c417e31a8a6471993abf1.tar.bz2 ghdl-062ff5b6a41caf93e03c417e31a8a6471993abf1.zip |
VHPI: add tests for loading libraries
Diffstat (limited to 'testsuite/vhpi/003load_multi_lib/vhpi_lib1.c')
-rw-r--r-- | testsuite/vhpi/003load_multi_lib/vhpi_lib1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/vhpi/003load_multi_lib/vhpi_lib1.c b/testsuite/vhpi/003load_multi_lib/vhpi_lib1.c new file mode 100644 index 000000000..3a9ceaf2a --- /dev/null +++ b/testsuite/vhpi/003load_multi_lib/vhpi_lib1.c @@ -0,0 +1,7 @@ +#include <stdio.h> +#include <vpi_user.h> + +void my_startup() +{ + printf ("VHPI lib 1\n"); +} |