summary refs log blame commit diff stats
path: root/tests/showoff/thello2.nim
blob: 3ccb4e3be1c08f058aa5f8af9310b4caf38c0efa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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