diff options
| author | Russel Winder <russel@winder.org.uk> | 2014-04-16 09:46:39 (GMT) |
|---|---|---|
| committer | Russel Winder <russel@winder.org.uk> | 2014-04-16 09:46:39 (GMT) |
| commit | da72e009ae9e2f450a601d52f2530338efa6a377 (patch) | |
| tree | df6efa619e83c0cfc7bd932ae3c9c786cf812246 /test/D/HSTeoh/SingleStringCannotBeMultipleOptions/proj.d | |
| parent | d4f8c6e320484c106446918c37affdddacd5c7a3 (diff) | |
| download | SCons-da72e009ae9e2f450a601d52f2530338efa6a377.zip SCons-da72e009ae9e2f450a601d52f2530338efa6a377.tar.gz SCons-da72e009ae9e2f450a601d52f2530338efa6a377.tar.bz2 | |
The changes to the D support evolved over the last many months packaged as a single changeset.
Diffstat (limited to 'test/D/HSTeoh/SingleStringCannotBeMultipleOptions/proj.d')
| -rw-r--r-- | test/D/HSTeoh/SingleStringCannotBeMultipleOptions/proj.d | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/proj.d b/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/proj.d new file mode 100644 index 0000000..e97f9dd --- /dev/null +++ b/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/proj.d @@ -0,0 +1,13 @@ +import std.stdio; +import mod1; + +extern(C) { + int csqr(int arg); +} + +void main() { + print_msg(); + + auto i = 17; + writefln("The square of %d is %d", i, csqr(i)); +} |
