diff options
Diffstat (limited to 'test cases/d/13 declare dep/test.d')
-rw-r--r-- | test cases/d/13 declare dep/test.d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/d/13 declare dep/test.d b/test cases/d/13 declare dep/test.d new file mode 100644 index 0000000..3a89921 --- /dev/null +++ b/test cases/d/13 declare dep/test.d @@ -0,0 +1,15 @@ +module test; + + +int main() +{ + version(TestVersion) + { + enum testPhrase = import("test.txt"); + return testPhrase == "TEST PHRASE" ? 0 : 1; + } + else + { + return 1; + } +} |