Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr50491.C
blob: d203a33efeb91f1a496f5b723025051bf3fd9e93 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
GrandParent
{
void
*
get
();
};
template
<
class
OBJ
>
struct
Parent
:
public
GrandParent
{
};
template
<
typename
T
>
struct
Child
:
public
Parent
<
T
>
{
using
GrandParent
::
get
;
void
Foo
()
{
void
*
ex
=
get
();
}
};