Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr46663.c
blobc2e56bb253a75aa97052c7dbd0500a44720ba30b
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O -fexceptions" } */
3 /* { dg-require-effective-target exceptions } */
5 typedef __attribute__ ((const)) int (*bart) (void);
7 int foo (bart bar, int m)
9 int i, j = 0;
10 for (i = 0; i < m; i++)
11 j += bar();
12 return j;