Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
inject2.C
blob: 3437ab15e4823109d1209cbd088c19713f33373c [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Wno-non-template-friend" }
// Origin: Mark Mitchell <mark@codesourcery.com>
template
<
int
I
>
class
C
{
friend
void
f
(
struct
X
*);
};
template
class
C
<
0
>;
class
D
{
friend
void
f
(
struct
X
*);
};