Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.2
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr47086.c
blob: 71743fe4fe5cdf9c6a4d4ac31cdbb02a8a82a223 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -fexceptions -fnon-call-exceptions -ftrapv" } */
void
foo
()
{
int
n
=
0
;
while
(
1
)
{
int
i
[
n
%
1
];
n
++;
}
}