diff options
author | Araq <rumpf_a@web.de> | 2016-11-30 11:00:51 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-11-30 11:00:51 +0100 |
commit | b1b2dd606ba736775868853657e331f287423dee (patch) | |
tree | e482389e1e9bf4b9b2c1b6fbad62d3209c463453 /tests/modules | |
parent | 5c46f268802217b774df23d4dcf07a6f7b0ebc20 (diff) | |
download | Nim-b1b2dd606ba736775868853657e331f287423dee.tar.gz |
fixes #5076
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/UpperCased.nim | 6 | ||||
-rw-r--r-- | tests/modules/tuppercased.nim | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/modules/UpperCased.nim b/tests/modules/UpperCased.nim new file mode 100644 index 000000000..7beffcc5f --- /dev/null +++ b/tests/modules/UpperCased.nim @@ -0,0 +1,6 @@ + +# bug #5076 + +var str*: string + +UpperCased.str = "hello" diff --git a/tests/modules/tuppercased.nim b/tests/modules/tuppercased.nim new file mode 100644 index 000000000..65f41becd --- /dev/null +++ b/tests/modules/tuppercased.nim @@ -0,0 +1,8 @@ +discard """ + output: "hello" +""" + +import UpperCased + +# stress normalization rules: +echo Upper_Cased.str |