Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
2d351b0590b18caca927be862d28b349b5045228
/
.
/
test
/
SemaObjCXX
/
parameters.mm
blob: aab1fbda4dd8b4c3a6f78eef01f0399bbcdfdb30 [
file
] [
log
] [
blame
]
// 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}}