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
2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
17922.C
blob
2fc6204e9a8ee62e4203015106aca265008bb7eb
1
// { dg-do assemble }
2
// 981204 bkoz
3
// g++/17922
4
5
class base { };
6
7
struct derived : public base {
8
derived (const derived&);
9
derived (const base&);
10
};
11
12
class tahiti {
13
public:
14
static void mf (derived);
15
};
16
17
void foo (const derived aaa) {
18
tahiti::mf(aaa);
19
}