added test cases from strange loop event
This commit is contained in:
parent
429d337ef6
commit
9ab1a3c724
6 changed files with 152 additions and 0 deletions
11
tests/showoff/thello2.nim
Normal file
11
tests/showoff/thello2.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
output: '''(a: 3, b: 4, s: abc)'''
|
||||
"""
|
||||
|
||||
type
|
||||
MyObject = object
|
||||
a, b: int
|
||||
s: string
|
||||
|
||||
let obj = MyObject(a: 3, b: 4, s: "abc")
|
||||
echo obj
|
||||
Loading…
Add table
Add a link
Reference in a new issue