aaron.ballman added inline comments.
================ Comment at: clang/test/CXX/temp/temp.res/p4.cpp:182-183 + friend X::X(T::type); + friend X::X(T::type = (int)(void(*)(typename T::type))(nullptr)); // expected-error {{friend declaration specifying a default argument must be a definition}} + friend X::X(T::type = (int)(void(*)(T::type))(nullptr)); // expected-error {{friend declaration specifying a default argument must be a definition}} \ + // expected-error {{expected expression}} ---------------- Hmmm, I was expecting a `missing 'typename'` test case, so perhaps add a friend declaration that's a definition instead? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152242/new/ https://reviews.llvm.org/D152242 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits