rsmith accepted this revision. rsmith added inline comments. This revision is now accepted and ready to land.
================ Comment at: test/SemaCXX/PR33189.cpp:1-7 +// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s + +class U +{ + template <class T> + ~U() { } // expected-error{{destructor cannot be declared as a template}} +}; ---------------- Please fold this into an existing test file, perhaps `test/SemaTemplate/destructor-template.cpp`? https://reviews.llvm.org/D33833 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits