summary refs log tree commit diff stats
path: root/tests/reject/tatomic.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tatomic.nim')
-rw-r--r--tests/reject/tatomic.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/reject/tatomic.nim b/tests/reject/tatomic.nim
new file mode 100644
index 000000000..0f1b8125d
--- /dev/null
+++ b/tests/reject/tatomic.nim
@@ -0,0 +1,5 @@
+var 
+  atomic: int
+  
+echo atomic
+