repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: Add dg-require-effective-target scheduling for some tests that set -fsched...
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig8.C
blob
b5558552dc5347163dccf4f763e06319632fd35c
1
// PR c++/42026, DR 239
2
// The local extern declaration prevents arg-dependent lookup.
3
// { dg-do link }
4
5
namespace NS {
6
class T { };
7
void g(T, int);
8
}
9
NS::T parm;
10
void g(NS::T, float) { }
11
int main() {
12
extern void g(NS::T, float);
13
g(parm, 1);
14
}