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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
overload
/
using5.C
blob
ad17c78a561e41f15507086d803b1e6c99c660bd
1
// Core issues 2273, 2277
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
A(int, int = 0);
7
static void f(int = 0);
8
};
9
10
struct B: A
11
{
12
using A::A;
13
B(int);
14
15
using A::f;
16
static void f();
17
};
18
19
struct C: B {
20
using B::B;
21
using B::f;
22
};
23
24
int main()
25
{
26
C c (42);
27
c.f();
28
}