Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
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}}