]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Test ctor
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 15 May 2022 22:52:03 +0000 (00:52 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 15 May 2022 22:52:03 +0000 (00:52 +0200)
tests/ctor/ctor_return.gw [new file with mode: 0644]

diff --git a/tests/ctor/ctor_return.gw b/tests/ctor/ctor_return.gw
new file mode 100644 (file)
index 0000000..dc95d37
--- /dev/null
@@ -0,0 +1,3 @@
+class C {
+  operator new() { return this; }
+}