// RUN: %clang_cc1 -fsyntax-only -verify %s
structX0{};structX1{};template<typename T>voidf0(){const T *t =(const X0*)0;// expected-error{{cannot initialize a variable of type 'const X1 *' with an rvalue of type 'const X0 *'}}
}templatevoidf0<X1>();// expected-note{{instantiation of}}