Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
enum8.C
blob: e62428f2c31b3d241fc6cef1b9e5fc64d876792d [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
int
I
>
void
f
();
template
<>
void
f
<
4
>()
{}
template
<
class
T
>
struct
S
{
enum
E
{
a
=
1
,
b
=
a
+
3
};
};
int
main
()
{
f
<
S
<int>
::
b
>();
}