2 // { dg-do run { target c++11 } }
3 // { dg-options "-Wno-error=narrowing" }
5 extern "C" void abort();
9 unsigned foo[] = { 1, -1, 3 };
10 if (foo[0] != 1 || foo[1] != __INT_MAX__ * 2U + 1 || foo[2] != 3)
14 // { dg-prune-output "narrowing conversion" }