1 // RUN: %clang_cc1 -verify %s
8 void f(T); // expected-error{{interface type 'A' cannot be passed by value}}
11 X0<A> x0a; // expected-note{{instantiation}}
14 struct test2 { virtual void foo() = 0; };
16 - (void) foo: (test2) foo ;
19 template<typename T> void r1(__restrict T);
20 void r2(__restrict id x) { r1(x); }