Sign in
llvm
/
llvm-project
/
bf317f66989cac26e17b4cd16ab1c7bdfe73dbe0
/
.
/
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
);
}