diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-11 08:12:39 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-11 08:12:39 +0200 |
commit | 93d01c6d4abd22e8e0fd46a13727034de97ae783 (patch) | |
tree | aa3c7429f05b3e4d216723455980359ab6585071 /testsuite/gna/issue1206/main.c | |
parent | 7a211109152e82843a59ba70b0a080ce91b9b495 (diff) | |
download | ghdl-93d01c6d4abd22e8e0fd46a13727034de97ae783.tar.gz ghdl-93d01c6d4abd22e8e0fd46a13727034de97ae783.tar.bz2 ghdl-93d01c6d4abd22e8e0fd46a13727034de97ae783.zip |
testsuite/gna: add a test for #1206
Diffstat (limited to 'testsuite/gna/issue1206/main.c')
-rw-r--r-- | testsuite/gna/issue1206/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue1206/main.c b/testsuite/gna/issue1206/main.c new file mode 100644 index 000000000..ede4b2354 --- /dev/null +++ b/testsuite/gna/issue1206/main.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +extern int ghdl_main(int argc, char** argv); + +int main(int argc, char** argv) { + printf("ghdl_main: %d\n", ghdl_main(0, NULL)); + return 0; +} |