c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / pr90773-1d.C
blobbf9d8543c1b39c76c0319837e47bf7f5808d9032
1 // { dg-do run }
2 // { dg-options "-O2" }
3 // { dg-additional-options "-march=native" { target { i?86-*-* x86_64-*-* } } }
4 // { dg-additional-sources "pr90773-1a.C" }
6 #include "pr90773-1.h"
8 void
9 foo (fixed_wide_int_storage x)
11   for (int i = 0; i < x.len; i++)
12     if (x.val[i] != i)
13       __builtin_abort ();
16 int main ()
18   return record_increment ();