https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:3e84ee0fab9cedfa57fe86ea3c00608f6a873ab9 commit r9-8603-g3e84ee0fab9cedfa57fe86ea3c00608f6a873ab9 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Mon Mar 16 23:04:49 2020 +0100 d: Fix multiple definition error when using mixins and interfaces. gcc/d/ChangeLog: PR d/92216 * decl.cc (make_thunk): Don't set TREE_PUBLIC on thunks if the target function is external to the current compilation. gcc/testsuite/ChangeLog: PR d/92216 * gdc.dg/imports/pr92216.d: New. * gdc.dg/pr92216.d: New test.