Sign in
llvm
/
llvm-project
/
5e2358c781b85a18d1463fd924d2741d4ae5e42e
/
.
/
clang
/
test
/
SemaObjCXX
/
typeloc-data-alignment.mm
blob: e17a910a607097fa42ca1fce691388454185451e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
// Make sure this doesn't crash.
@protocol
P
@end
template
<
class
T
>
id
<
P
>
foo
(
T
)
{
int
i
;
foo
(
i
);
}