// RUN: %clang_cc1 -verify %s @interface A @end template struct X0 { void f(T); // expected-error{{interface type 'A' cannot be passed by value}} }; X0 x0a; // expected-note{{instantiation}}