diff options
author | Erez Geva <ErezGeva2@gmail.com> | 2023-05-03 12:09:15 +0200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2023-05-04 13:18:10 +1200 |
commit | 63b1293e1a760e0ce1a27208a5231e705c8f0f3b (patch) | |
tree | 49ae567d51c5b72ace63a15b54612308274ee56a /Examples/test-suite/d/sneaky1_runme.1.d | |
parent | dada37e1d1a860100c23f7971b0aac58154441fa (diff) | |
download | swig-63b1293e1a760e0ce1a27208a5231e705c8f0f3b.tar.gz |
Drop D version 1
See #2538
Diffstat (limited to 'Examples/test-suite/d/sneaky1_runme.1.d')
-rw-r--r-- | Examples/test-suite/d/sneaky1_runme.1.d | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Examples/test-suite/d/sneaky1_runme.1.d b/Examples/test-suite/d/sneaky1_runme.1.d deleted file mode 100644 index b293b4972..000000000 --- a/Examples/test-suite/d/sneaky1_runme.1.d +++ /dev/null @@ -1,21 +0,0 @@ -module sneaky1_runme; - -import sneaky1.sneaky1; - -void main() { - if (add(30, 2) != 32) { - throw new Exception("add test failed"); - } - - if (subtract(20, 2) != 18) { - throw new Exception("subtract test failed"); - } - - if (mul(20, 2) != 40) { - throw new Exception("mul test failed"); - } - - if (divide(20, 2) != 10) { - throw new Exception("div test failed"); - } -} |