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
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var30.C
blob
f3f7f1ae5bb723691eede85a8c6fe0a0690c7b40
1
// PR c++/83942
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options "-Wall" }
4
5
enum class E { E1 };
6
int main() {
7
E const e = E::E1;
8
return static_cast<int>(e);
9
}