Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaObjCXX/parameters.mm @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
line wrap: on
line source
// 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}} struct test2 { virtual void foo() = 0; }; // expected-note {{unimplemented}} @interface Test2 - (void) foo: (test2) foo; // expected-error {{parameter type 'test2' is an abstract class}} @end template<typename T> void r1(__restrict T); void r2(__restrict id x) { r1(x); }