Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum35.C
blob: bcc1b26b39006ea90c42937fe10eb6d659fb2dc3 [
file
] [
log
] [
blame
]
// PR c++/82307
// { dg-do run { target c++11 } }
#include
<cassert>
enum
:
unsigned
long
long
{
VAL
};
bool
foo
(
unsigned
long
long
)
{
return
true
;
}
bool
foo
(
int
)
{
return
false
;
}
int
main
()
{
assert
(
foo
(
VAL
));
}