summary refs log tree commit diff stats
path: root/tests/pragmas
diff options
context:
space:
mode:
authorawr <41453959+awr1@users.noreply.github.com>2018-09-04 16:21:47 -0500
committerawr <41453959+awr1@users.noreply.github.com>2018-09-04 16:21:47 -0500
commit89ad1cc9b18db8320e5b170ee45888cf79d52001 (patch)
tree115c4ec0b79791921075c3360d9b59d3f91088a8 /tests/pragmas
parente6a4213faeb28530e33663d27ff446a5b74b4a5e (diff)
downloadNim-89ad1cc9b18db8320e5b170ee45888cf79d52001.tar.gz
tabling declared() stuff
Diffstat (limited to 'tests/pragmas')
-rw-r--r--tests/pragmas/treorderdeclared.nim12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/pragmas/treorderdeclared.nim b/tests/pragmas/treorderdeclared.nim
deleted file mode 100644
index 67403471b..000000000
--- a/tests/pragmas/treorderdeclared.nim
+++ /dev/null
@@ -1,12 +0,0 @@
-discard """
-output:'''false'''
-"""
-
-{.experimental: "codeReordering".}
-
-proc x() =
-  echo(declared(foo))
-
-var foo = 4
-
-x() # "false", the same as it would be with code reordering OFF