From 2d54b850894004ad8116f804b6c0c2f013a5b7a2 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 27 Oct 2011 23:25:34 +0200 Subject: compilation cache: tests now part of test suite --- tests/rodfiles/deadg.nim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/rodfiles/deadg.nim (limited to 'tests/rodfiles/deadg.nim') 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 + + -- cgit 1.4.1-2-gfad0