* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / builtin-arith-overflow-1.C
blobe0c93e54f55b91c35e5bf0c3aa4fd15228ef0a3e
1 // { dg-do compile }
3 enum A { B = 1, C = 2, D = __builtin_add_overflow_p (B, C, 0) };
4 int e[__builtin_add_overflow_p (B, C, 0) + 1];
5 template <int N> int foo (int);
7 void
8 bar ()
10   foo <__builtin_add_overflow_p (B, C, 0) + 1> (0);