diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-05-05 15:12:50 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-05-05 15:12:50 +0300 |
commit | f52ea04d229b5cdf70a352efd93e0e01fa8faadf (patch) | |
tree | c636ed75f8f00380397c47ac571275ac3215c2a9 /tests/caas/main_dirty.nim | |
parent | 5a2720e99075166d2192fd40927f695f58124028 (diff) | |
download | Nim-f52ea04d229b5cdf70a352efd93e0e01fa8faadf.tar.gz |
support suggest after compile in caas mode
Diffstat (limited to 'tests/caas/main_dirty.nim')
-rw-r--r-- | tests/caas/main_dirty.nim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/caas/main_dirty.nim b/tests/caas/main_dirty.nim new file mode 100644 index 000000000..95fb6c624 --- /dev/null +++ b/tests/caas/main_dirty.nim @@ -0,0 +1,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) + |