https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:447d196e75d97a9ac7c6a548dc9d0fe367adf6be commit r10-7199-g447d196e75d97a9ac7c6a548dc9d0fe367adf6be 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.