Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
access26.C
blob: b17baa71cab49c6177040e08f7a16143af437ee9 [
file
] [
log
] [
blame
]
// PR c++/45917
template
<
typename
T
>
struct
A
{
static
int
i
;
};
class
B
{
typedef
int
X
;
};
// { dg-message "private" }
void
f
()
{
A
<
B
::
X
>::
i
=
0
;
}
// { dg-error "this context" }