diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-25 19:11:17 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-25 19:11:17 +0100 |
commit | 3ff6354a7c7c04ffda21ce6f20ee77788659352c (patch) | |
tree | 88cbc1f8ad209ba16de109f846654dbd556cf6b6 /tests/accept/compile | |
parent | a8f6d307a9fa4a27f54734604620e1763a8eafa5 (diff) | |
download | Nim-3ff6354a7c7c04ffda21ce6f20ee77788659352c.tar.gz |
Bugfix: code generation bug that affected dialogs.nim
Diffstat (limited to 'tests/accept/compile')
-rwxr-xr-x | tests/accept/compile/tbug538751.nim | 8 | ||||
-rwxr-xr-x | tests/accept/compile/temptyecho.nim | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/accept/compile/tbug538751.nim b/tests/accept/compile/tbug538751.nim new file mode 100755 index 000000000..c9ac45797 --- /dev/null +++ b/tests/accept/compile/tbug538751.nim @@ -0,0 +1,8 @@ +type + PNode = ref TNode + TNode = tuple[self: PNode] + +var node: PNode +new(node) +node.self = node + diff --git a/tests/accept/compile/temptyecho.nim b/tests/accept/compile/temptyecho.nim new file mode 100755 index 000000000..5f1aa6515 --- /dev/null +++ b/tests/accept/compile/temptyecho.nim @@ -0,0 +1,2 @@ +echo() + |