Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjCXX / typeloc-data-alignment.mm
blobe17a910a607097fa42ca1fce691388454185451e
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 // Make sure this doesn't crash.
6 @protocol P
7 @end
8 template <class T>
9 id<P> foo(T) {
10   int i;
11   foo(i);