summary refs log tree commit diff stats
path: root/tests/arc/tarcmisc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arc/tarcmisc.nim')
-rw-r--r--tests/arc/tarcmisc.nim16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/arc/tarcmisc.nim b/tests/arc/tarcmisc.nim
index 953e2f3a7..79c947e82 100644
--- a/tests/arc/tarcmisc.nim
+++ b/tests/arc/tarcmisc.nim
@@ -104,4 +104,18 @@ proc re(x: static[string]): static MyType =
 proc match(inp: string, rg: static MyType) = 
   doAssert rg.a.len == 0
 
-match("ac", re"a(b|c)")
\ No newline at end of file
+match("ac", re"a(b|c)")
+
+#------------------------------------------------------------------------------
+# issue #14243
+
+type
+  Game* = ref object
+
+proc free*(game: Game) =
+  let a = 5
+
+proc newGame*(): Game =
+  new(result, free)
+
+var game*: Game
\ No newline at end of file
nim?h=devel&id=90119066adf6a9a2e8d779d4955637c6dd99aba3'>^
887987bb1 ^
00b495de9 ^
887987bb1 ^
61e57cfa1 ^

740527813 ^
61e57cfa1 ^
0091f2ad3 ^
94d1aa510 ^
61e57cfa1 ^

94d1aa510 ^
61e57cfa1 ^

0091f2ad3 ^
e25474154 ^
61e57cfa1 ^
0091f2ad3 ^
dd806cafa ^
61e57cfa1 ^
5e15dec17 ^
61e57cfa1 ^
b9994925f ^












5d95137ce ^

b9994925f ^






















6e267d28b ^


b9994925f ^










e90d91f0e ^
188ce5f3e ^
13e659cfe ^
887987bb1 ^
154682600 ^
00b495de9 ^



5f515410a ^

c94647aec ^
ab48d7901 ^
114da04cb ^
21cbfd72e ^
e506c1e0e ^
a03a8e80e ^
dfb020b17 ^
4005f0d0e ^
c3344862b ^
c0a2e2ed9 ^
6a0e87eb3 ^
e70294dff ^





a0eca7518 ^

a6682de00 ^
9ffec7930 ^
19cab9fa5 ^
06dfd3161 ^
63d1a0289 ^
fb58066b6 ^
e2d80b15a ^
92163fa33 ^

58a1eec96 ^
025ca660f ^
31bb67a30 ^
4fc7fcb77 ^
4d3f3513e ^
bbe4cf470 ^
159c06e04 ^
ceadf54d7 ^
2abc936d5 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136