diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/runnable/interface.d')
-rw-r--r-- | gcc/testsuite/gdc.test/runnable/interface.d | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/gdc.test/runnable/interface.d b/gcc/testsuite/gdc.test/runnable/interface.d index dab7beb9c28..78a712e7a23 100644 --- a/gcc/testsuite/gdc.test/runnable/interface.d +++ b/gcc/testsuite/gdc.test/runnable/interface.d @@ -1,3 +1,10 @@ +/* +TEST_OUTPUT: +--- +runnable/interface.d(41): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead. +runnable/interface.d(55): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead. +--- +*/ import core.stdc.stdio; @@ -79,7 +86,7 @@ void test3() j.f(); K3 k = a; k.f(); - assert(&j.f == &k.f); // Bugzilla 3706 + assert(&j.f == &k.f); // https://issues.dlang.org/show_bug.cgi?id=3706 } /*******************************************/ |