Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr95999.C
blob: cf8437ef2621ce4fe99ce508b1b3d64f60253595 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
int
a
;
enum
struct
b
;
template
<
typename
=
enum
struct
b
{
c
=
a d
}
template
<>
enum
struct
b
{
e
};
// { dg-error "explicit specialization" }
// { dg-excess-errors "note" }
// { dg-excess-errors "5:" }