Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var30.C
blob: f3f7f1ae5bb723691eede85a8c6fe0a0690c7b40 [
file
] [
log
] [
blame
]
// PR c++/83942
// { dg-do compile { target c++11 } }
// { dg-additional-options "-Wall" }
enum
class
E
{
E1
};
int
main
()
{
E
const
e
=
E
::
E1
;
return
static_cast
<int>
(
e
);
}