[PATCH] AST: Don't treat a TemplateExpansion as a Template

Richard Smith richard at metafoo.co.uk
Tue Aug 27 12:39:18 PDT 2013



================
Comment at: test/SemaCXX/crash-lambda-12645424.cpp:45-54
@@ +44,11 @@
+
+template <template <typename> class... Templates>
+struct template_tuple {};
+template <typename T>
+struct identity {};
+template <template <typename> class... Templates>
+template_tuple<Templates...> f7() {}
+
+void foo() {
+  f7<identity>();
+}
----------------
I think test/SemaTemplate/temp_arg_template.cpp would be a better file for this test.


http://llvm-reviews.chandlerc.com/D1512

BRANCH
  PR16997

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list