Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
access17.C
blob: 0c45100058c73d409ae38325c36df7dacdb1ffe9 [
file
] [
log
] [
blame
]
// PR c++/27339
class
A
{
private
:
enum
private_enum
{
a
};
template
<
A
::
private_enum v
>
// OK
struct
B
{
void
bm
();
};
public
:
void
am
()
{
B
<a>
instance
;
//OK
instance
.
bm
();
}
};
template
<
A
::
private_enum v
>
// FAIL
void
A
::
B
<v>
::
bm
(){}