Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename23.C
blob: 33030c71ea0222f05e16379095ce2ba852ee2082 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
void
value_type
(
T
){}
template
<
class
T
>
struct
B
{
typedef
T value_type
;
};
template
<class>
class
Vector
{};
template
<
class
T
>
struct
D
:
B
<
T
>{
Vector
<value_type>
r
;
// { dg-error "" } value_type is not a type
};