Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template11.C
blob: 4363773cd7d132fa8f87bdb0b4325d11dd488b69 [
file
] [
log
] [
blame
]
// { dg-do run }
void
foo
(){}
namespace
Bar
{
template
<
class
X
>
class
Y
{
friend
void
foo
(
Y
<
X
>){}
};
}
int
main
()
{
Bar
::
Y
<int>
y
;
foo
(
y
);
foo
();
}