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
[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
argument-dependent-lookup.mm
blob
dfb304a949cf30dd4410f8ef99e561dddb8d286c
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
// For the purposes of Argument-Dependent Lookup, Objective-C classes are
5
// considered to be in the global namespace.
6
7
@interface NSFoo
8
@end
9
10
template<typename T>
11
void f(T t) {
12
g(t);
13
}
14
15
void g(NSFoo*);
16
17
void test(NSFoo *foo) {
18
f(foo);
19
}