https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88990
--- Comment #2 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Fri Mar 15 13:37:07 2019 New Revision: 269708 URL: https://gcc.gnu.org/viewcvs?rev=269708&root=gcc&view=rev Log: PR d/88990 d/dmd: Merge upstream dmd 8d4c876c6 The extern storage class flag was wrongly propagated to function scope when starting the semantic pass on the body. Fixes https://gcc.gnu.org/PR88990 Reviewed-on: https://github.com/dlang/dmd/pull/9452 Added: trunk/gcc/testsuite/gdc.test/runnable/test19734.d trunk/gcc/testsuite/gdc.test/runnable/test19735.d Modified: trunk/gcc/d/dmd/MERGE trunk/gcc/d/dmd/declaration.c trunk/gcc/d/dmd/func.c