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.
Showing
gcc/testsuite/gdc.dg/imports/pr92216.d
0 → 100644
gcc/testsuite/gdc.dg/pr92216.d
0 → 100644
Please
register
or
sign in
to comment