https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127439

--- Comment #1 from Ted Rodgers <ted.d.rodgers at gmail dot com> ---
reduced:


struct a {
  constexpr a(char *);
};
template <typename> void b() { constexpr a c[]{""}; }




---- 

tests are still valid:


passes build with:
    g++-16 -std=c++17 -c NoNamespaceCheck.cpp.ii -o NoNamespaceCheck.cpp.o 

fails with:
    g++-17 -std=c++17 -c NoNamespaceCheck.cpp.ii -o NoNamespaceCheck.cpp.o

Reply via email to