summary refs log tree commit diff stats
path: root/tests/caas/main_dirty.nim
blob: 95fb6c6240c921c79c7bbfcb6e24fa8a82125995 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import imported, strutils

type
  TFoo = object
    x: int
    y: string

proc main =
  var t1 = "text"
  var t2 = t1.toUpper
  var foo = TFoo(x: 10, y: "test")
  foo.
  echo(t1 +++ t2)