https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87921
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Mar 8 21:40:04 2019 New Revision: 269510 URL: https://gcc.gnu.org/viewcvs?rev=269510&root=gcc&view=rev Log: PR c++/87921 - wrong error with inline static data member. An instantiation of an inline variable isn't defined until it's instantiated, so don't treat it as defined just because it's inline. * decl2.c (c_parse_final_cleanups): Don't force out uninstantiated inline static data members. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/inline-var5.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/decl2.c