summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/fix17349.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/fix17349.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/fix17349.d40
1 files changed, 0 insertions, 40 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/fix17349.d b/gcc/testsuite/gdc.test/compilable/fix17349.d
deleted file mode 100644
index 2222c355927..00000000000
--- a/gcc/testsuite/gdc.test/compilable/fix17349.d
+++ /dev/null
@@ -1,40 +0,0 @@
-/* REQUIRED_ARGS: -dw
- * PERMUTE_ARGS:
- * TEST_OUTPUT:
----
-compilable/fix17349.d(37): Deprecation: cannot implicitly override base class method `fix17349.E.foo` with `fix17349.F.foo`; add `override` attribute
----
- */
-
-// https://issues.dlang.org/show_bug.cgi?id=17349
-
-struct S { }
-
-class C {
- void bar();
- void foo(void* p);
- void abc(Object);
- void def(S);
-}
-
-class D : C {
- override void bar() const;
- override void foo(const void*);
- override void abc(const Object);
- override void def(const S);
-}
-
-alias fp_t = void function(int*);
-@safe void abc(const int*);
-fp_t fp = &abc;
-
-
-class E {
- void foo(void*);
-}
-
-class F : E {
- void foo(const void*);
-}
-
-