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