fixes #5076
This commit is contained in:
parent
5c46f26880
commit
b1b2dd606b
3 changed files with 15 additions and 2 deletions
6
tests/modules/UpperCased.nim
Normal file
6
tests/modules/UpperCased.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
# bug #5076
|
||||
|
||||
var str*: string
|
||||
|
||||
UpperCased.str = "hello"
|
||||
8
tests/modules/tuppercased.nim
Normal file
8
tests/modules/tuppercased.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
discard """
|
||||
output: "hello"
|
||||
"""
|
||||
|
||||
import UpperCased
|
||||
|
||||
# stress normalization rules:
|
||||
echo Upper_Cased.str
|
||||
Loading…
Add table
Add a link
Reference in a new issue