Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
enum6.C
blob: 20be9bb7076a1b129ea18b20bf0d9cde8cfd9991 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
struct
vector
{};
template
<
class
T
>
void
fn
(
T
)
{
enum
tern
{
H
,
L
,
X
,
U
};
vector
<tern>
ternvec
;
// { dg-error "" "" { target { ! c++11 } } } composed from a local type
}
template
void
fn
(
int
);