summaryrefslogtreecommitdiff
path: root/tests/testdata/test/sanitizer/ops_sanitizer_tcp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/test/sanitizer/ops_sanitizer_tcp.ts')
-rw-r--r--tests/testdata/test/sanitizer/ops_sanitizer_tcp.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testdata/test/sanitizer/ops_sanitizer_tcp.ts b/tests/testdata/test/sanitizer/ops_sanitizer_tcp.ts
new file mode 100644
index 000000000..ec2df9fd5
--- /dev/null
+++ b/tests/testdata/test/sanitizer/ops_sanitizer_tcp.ts
@@ -0,0 +1,4 @@
+Deno.test(function testLeakTcpOps() {
+ const listener1 = Deno.listen({ port: 0 });
+ listener1.accept();
+});