diff options
author | Araq <rumpf_a@web.de> | 2011-10-27 23:25:34 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-10-27 23:25:34 +0200 |
commit | 2d54b850894004ad8116f804b6c0c2f013a5b7a2 (patch) | |
tree | 70d4112f8e67bdf5e7f08ab538a5de7e0993c2d7 /tests/rodfiles/deadg.nim | |
parent | 5e5e4abfeee16bcacf659d35745d456586cb37e5 (diff) | |
download | Nim-2d54b850894004ad8116f804b6c0c2f013a5b7a2.tar.gz |
compilation cache: tests now part of test suite
Diffstat (limited to 'tests/rodfiles/deadg.nim')
-rw-r--r-- | tests/rodfiles/deadg.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rodfiles/deadg.nim b/tests/rodfiles/deadg.nim new file mode 100644 index 000000000..97bfbed4f --- /dev/null +++ b/tests/rodfiles/deadg.nim @@ -0,0 +1,10 @@ + +{.deadCodeElim: on.} + +proc p1*(x, y: int): int = + result = x + y + +proc p2*(x, y: string): string = + result = x & y + + |