Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
overload4.C
blob: 1a294eb3c054991b5f7e1992381bb562c3e2b612 [
file
] [
log
] [
blame
]
// PR c++/20679
template
<
class
T
>
struct
foo
{
struct
bar
{
int
m
;
};
void
m
()
const
{}
void
m
()
{}
bool
n
()
const
{
return
b
->
m
<
42
;
}
bar
*
b
;
};