☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using50.C
☽
☼
gcc/testsuite/g++.dg/lookup/using50.C
code
plain
raw
1
// PR c++/51319
2
// { dg-do compile }
3
4
template<int> struct X {};
5
6
struct Base
7
{
8
enum { a = 1 };
9
};
10
11
struct Der : Base
12
{
13
using Base::a;
14
typedef X<(int)a> Y;
15
};