comparison gcc/testsuite/gcc.dg/pr47086.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 1830386684a0
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-O -fexceptions -fnon-call-exceptions -ftrapv" } */
3
4 void
5 foo ()
6 {
7 int n = 0;
8 while (1)
9 {
10 int i[n % 1];
11 n++;
12 }
13 }
14