Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
));
}