Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;
};