Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend61b.C
blob: 2da5d60b55e319b5a4968fad2ce1576fd0e63424 [
file
] [
log
] [
blame
]
// PR c++/69323
template
<
int
VALUE
>
struct
Outer
{
struct
StupidValueTrick
{
template
<
int
VAL
>
friend
struct
Outer
::
StupidValueTrick
;
// { dg-error "not a template" }
};
};
typedef
Outer
<
42
>::
StupidValueTrick
GoodValue
;
GoodValue
good
;