diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-02-02 19:24:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 19:24:55 +0100 |
commit | fb80d2ff85fc5db2996d6660075941e1256564fe (patch) | |
tree | 1b463d4213dec1a1b75f4cc3a83c6ee81a66ddc0 /tests/ic | |
parent | 1d1c831efa7f9bfcc739b2d38a3a839187bc39c6 (diff) | |
download | Nim-fb80d2ff85fc5db2996d6660075941e1256564fe.tar.gz |
IC: bugfixes (WIP) (#16836)
* minor improvements * IC: added the required logic for compilerProcs * LazySym ftw * we need this testing logic * reimplement the old way we use for module package creation * fixes a regression; don't pick module names if you can avoid it
Diffstat (limited to 'tests/ic')
-rw-r--r-- | tests/ic/thallo.nim | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/ic/thallo.nim b/tests/ic/thallo.nim new file mode 100644 index 000000000..c29a0820c --- /dev/null +++ b/tests/ic/thallo.nim @@ -0,0 +1,29 @@ +discard """ + output: "Hello World" + disabled: "true" +""" + +const str = "Hello World" +echo str + +# Splitters are done with this special comment: + +#!EDIT!# + +discard """ + output: "Hello World B" +""" + +const str = "Hello World" +echo str, " B" + +#!EDIT!# + +discard """ + output: "Hello World C" +""" + +const str = "Hello World" +var x = 7 +if 3+4 == x: + echo str, " C" |