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
/
using33.C
blob
a80be036442574f9a99f09274c664c3e983c21d7
1
// { dg-do run }
2
3
template <class T>
4
struct Foo
5
{
6
int k (float) {return 0;}
7
};
8
9
template <class T>
10
struct Baz
11
{
12
int k (int) {return 1;}
13
};
14
15
template <class T>
16
struct Bar : Foo<T> , Baz<T>
17
{
18
using Foo<T>::k;
19
using Baz<T>::k;
20
};
21
22
int main()
23
{
24
Bar<int> bar;
25
return bar.k( 1.0f );
26
}