diff --git a/tests/allman/issue0195.d.ref b/tests/allman/issue0195.d.ref new file mode 100644 index 0000000..b638abf --- /dev/null +++ b/tests/allman/issue0195.d.ref @@ -0,0 +1,16 @@ +void main() +{ + auto myTid = runTask({ + auto conn = connectTCP("localhost", 4222); + + auto l = Lexer(conn); + foreach (t; l) + { + + } + conn.close(); + }); + + // foo + runEventLoop(); +} diff --git a/tests/issue0195.d b/tests/issue0195.d new file mode 100644 index 0000000..f92a7ef --- /dev/null +++ b/tests/issue0195.d @@ -0,0 +1,17 @@ +void main() +{ + auto myTid = runTask({ + auto conn = connectTCP("localhost", 4222); + + auto l = Lexer(conn); + foreach (t; + l) + { + + } + conn.close(); + }); + + // foo + runEventLoop(); +} diff --git a/tests/otbs/issue0195.d.ref b/tests/otbs/issue0195.d.ref new file mode 100644 index 0000000..85955a0 --- /dev/null +++ b/tests/otbs/issue0195.d.ref @@ -0,0 +1,14 @@ +void main() { + auto myTid = runTask({ + auto conn = connectTCP("localhost", 4222); + + auto l = Lexer(conn); + foreach (t; l) { + + } + conn.close(); + }); + + // foo + runEventLoop(); +}