v.g.vassilev added a comment. Could you double-check if we can add this to an existing test? Would `test/SemaCXX/pr25181-crash-on-invalid.cpp` fit and potentially rename it.
================ Comment at: test/SemaCXX/cxx11-odr-use-crash-on-invalid.cpp:8 +c : d() { // expected-error {{unexpected ':'}} \ + // expected-error {{nested name specifier 'c::' for declaration does not refer}} + c &e = b<c>; ---------------- Looks like this line has spacing problems. https://reviews.llvm.org/D37797 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits