diff options
Diffstat (limited to 'test/D/HelloWorld/CompileAndLinkOneStep/Image')
| -rw-r--r-- | test/D/HelloWorld/CompileAndLinkOneStep/Image/SConstruct_template | 8 | ||||
| -rw-r--r-- | test/D/HelloWorld/CompileAndLinkOneStep/Image/helloWorld.d | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/D/HelloWorld/CompileAndLinkOneStep/Image/SConstruct_template b/test/D/HelloWorld/CompileAndLinkOneStep/Image/SConstruct_template new file mode 100644 index 0000000..e2e7439 --- /dev/null +++ b/test/D/HelloWorld/CompileAndLinkOneStep/Image/SConstruct_template @@ -0,0 +1,8 @@ +# -*- mode:python; coding:utf-8; -*- + +import os + +environment = Environment( + tools=['link', '{}']) + +environment.Program('helloWorld.d') diff --git a/test/D/HelloWorld/CompileAndLinkOneStep/Image/helloWorld.d b/test/D/HelloWorld/CompileAndLinkOneStep/Image/helloWorld.d new file mode 100644 index 0000000..4d95b24 --- /dev/null +++ b/test/D/HelloWorld/CompileAndLinkOneStep/Image/helloWorld.d @@ -0,0 +1,6 @@ +import std.stdio; + +int main(immutable string[] args) { + writeln("Hello World."); + return 0; +} |
