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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using58.C
blob
d04bce1e91fb1ab778469f173a2aa2a73f127f0e
1
2
3
void Foo (int);
4
void Foo (double);
5
6
namespace Y
7
{
8
void Baz (int); // { dg-message "previous declaration" }
9
}
10
11
void X ()
12
{
13
using ::Foo;
14
extern void Foo (int);
15
16
using Y::Baz;
17
extern void Baz (int); // { dg-error "conflicts with" }
18
}