☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var30.C
☽
☼
gcc/testsuite/g++.dg/warn/Wunused-var30.C
code
plain
raw
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
}