Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr98556.c
blob: 865957bf353c8c59f237a4de3a2902c73285f700 [
file
] [
log
] [
blame
]
/* PR c++/98556 */
/* { dg-do compile } */
/* { dg-options "-O0" } */
enum
T
{
E
=
-
__LONG_MAX__
-
1
};
enum
T
foo
(
char
*
p
,
char
*
q
)
{
return
(
enum
T
)
(
p
-
q
);
}