diff options
Diffstat (limited to 'test/D/HSTeoh/LinkingProblem/prog.d')
-rw-r--r-- | test/D/HSTeoh/LinkingProblem/prog.d | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/D/HSTeoh/LinkingProblem/prog.d b/test/D/HSTeoh/LinkingProblem/prog.d new file mode 100644 index 0000000..1337210 --- /dev/null +++ b/test/D/HSTeoh/LinkingProblem/prog.d @@ -0,0 +1,13 @@ +/* + * Simple D program that links to ncurses via a C wrapping file. + */ + +extern(C) { + void ncurs_init(); + void ncurs_cleanup(); +} + +void main() { + ncurs_init(); + ncurs_cleanup(); +} |