xref: /llvm-project/clang/test/SemaObjCXX/typeloc-data-alignment.mm (revision cb4525443c45f09e3e7f990cf0418630e4ba80be)
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4// Make sure this doesn't crash.
5
6@protocol P
7@end
8template <class T>
9id<P> foo(T) {
10  int i;
11  foo(i);
12}
13