repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
typeloc-data-alignment.mm
blob
e17a910a607097fa42ca1fce691388454185451e
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
8
template <class T>
9
id<P> foo(T) {
10
int i;
11
foo(i);
12
}