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