diff options
| author | Matthias Klumpp <matthias@tenstral.net> | 2016-08-20 18:56:54 +0200 |
|---|---|---|
| committer | Matthias Klumpp <matthias@tenstral.net> | 2016-08-21 01:38:10 +0200 |
| commit | d767d8ca3993f3cee47840542f35978f43d3a8ff (patch) | |
| tree | 0f1f530efa3db98872f0c499f53666960f107763 /test cases/d/3 shared library/app.d | |
| parent | 57c54a678c8eec18df345a44075d59f6384be8f0 (diff) | |
| download | meson-d767d8ca3993f3cee47840542f35978f43d3a8ff.tar.gz | |
Split D library test into static/shared tests
This allows us to disable the shared library test if the GNU D compiler
is detected.
This is useful, because gdc can not yet build proper shared libraries.
We also add a new test here which tests versioning of D shared
libraries.
Diffstat (limited to 'test cases/d/3 shared library/app.d')
| -rw-r--r-- | test cases/d/3 shared library/app.d | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/d/3 shared library/app.d b/test cases/d/3 shared library/app.d new file mode 100644 index 000000000..5d84a6942 --- /dev/null +++ b/test cases/d/3 shared library/app.d @@ -0,0 +1,8 @@ + +import libstuff; + +void main () +{ + immutable ret = printLibraryString ("foo"); + assert (ret == 4); +} |
