Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wuninitialized-27.C
blob: 24e6b9b5b48fbca7cc8d226782d04288cc21880b [
file
] [
log
] [
blame
]
// PR c++/19808
// { dg-do compile }
// { dg-options "-Wall" }
enum
E
{
red
};
struct
C
{
C
(
int
*,
unsigned
);
};
template
<
unsigned
U
>
struct
D
:
C
{
D
(
int
,
int
,
E
)
:
C
(
e
,
U
)
{}
int
e
[
2
];
};
void
g
()
{
D
<
1
>(
0
,
0
,
red
);
}