summary refs log tree commit diff stats
path: root/tests/caas/main_dirty.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-05-05 15:12:50 +0300
committerZahary Karadjov <zahary@gmail.com>2013-05-05 15:12:50 +0300
commitf52ea04d229b5cdf70a352efd93e0e01fa8faadf (patch)
treec636ed75f8f00380397c47ac571275ac3215c2a9 /tests/caas/main_dirty.nim
parent5a2720e99075166d2192fd40927f695f58124028 (diff)
downloadNim-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.nim14
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)
+