From d913fdb2800d83680e413cd8a5f07b7f85deac6e Mon Sep 17 00:00:00 2001 From: "rumpf_a@web.de" <> Date: Sun, 21 Feb 2010 19:42:36 +0100 Subject: start of tests refactoring; sqlite3 new wrapper fixes --- tests/accept/compile/tpush.nim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/accept/compile/tpush.nim (limited to 'tests/accept/compile/tpush.nim') diff --git a/tests/accept/compile/tpush.nim b/tests/accept/compile/tpush.nim new file mode 100644 index 000000000..5fb411a79 --- /dev/null +++ b/tests/accept/compile/tpush.nim @@ -0,0 +1,15 @@ +# test the new pragmas + +{.push warnings: off, hints: off.} +proc noWarning() = + var + x: int + echo(x) + +{.pop.} + +proc WarnMe() = + var + x: int + echo(x) + -- cgit 1.4.1-2-gfad0