Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
lookup9.C
blob: 4a1dc79eef4184ac8e5da92fce01b3a3c296e6b0 [
file
] [
log
] [
blame
]
// PR c++/50848
// { dg-options "-fpermissive" }
template
<
class
T
>
class
A
{
T
&
foo
;};
template
<
class
T
>
class
B
:
public
A
<
T
>
{
void
f
(){
foo
(
1
);
// { dg-message "foo" }
}
};
template
class
B
<int>
;