diff options
Diffstat (limited to 'test cases/d/16 code generation/exe.d')
-rw-r--r-- | test cases/d/16 code generation/exe.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/d/16 code generation/exe.d b/test cases/d/16 code generation/exe.d new file mode 100644 index 0000000..0e24d6d --- /dev/null +++ b/test cases/d/16 code generation/exe.d @@ -0,0 +1,9 @@ +module exe; + +import generated; +import std.stdio; + +int main() +{ + return generatedString() == "Some text to be returned by generated code" ? 0 : 1; +} |