// RUN: %clang_cc1 -std=c++11 -emit-pch -o %t %s // RUN: %clang_cc1 -std=c++11 -include-pch %t -verify %s // expected-no-diagnostics // Before the patch, this test triggered an assert violation in // ASTContext::getSubstTemplateTypeParmType. #ifndef HEADER_INCLUDED #define HEADER_INCLUDED template using Id = T; template struct Class1 { template struct Nested1; }; template struct Class2 { template > struct Nested2; }; #else Class2 test; #endif