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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
using4.C
blob
9d6e27e046513378554b002338f0b5703d0f2d90
1
// { dg-do assemble }
2
3
// Based on a testcase by Martin Bachtold <martinb@coyotesystems.com>
4
5
struct foo {
6
void m();
7
};
8
9
struct bar : foo {
10
using foo::m;
11
void m(int);
12
};
13
14
void f() {
15
bar b;
16
b.m();
17
b.m(1);
18
}