1 2 3 4 5 6 7 8 9 10 11 12
// RUN: %clang_cc1 -verify %s @interface A @end template<typename T> struct X0 { void f(T); // expected-error{{interface type 'A' cannot be passed by value}} }; X0<A> x0a; // expected-note{{instantiation}}