repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wuninitialized-27.C
blob
24e6b9b5b48fbca7cc8d226782d04288cc21880b
1
// PR c++/19808
2
// { dg-do compile }
3
// { dg-options "-Wall" }
4
5
enum E { red };
6
7
struct C {
8
C(int *, unsigned);
9
};
10
11
template <unsigned U> struct D : C {
12
D(int, int, E) : C(e, U) {}
13
int e[2];
14
};
15
16
void
17
g ()
18
{
19
D<1>(0, 0, red);
20
}