blob: e0c93e54f55b91c35e5bf0c3aa4fd15228ef0a3e [file] [log] [blame]
// { dg-do compile }
enum A { B = 1, C = 2, D = __builtin_add_overflow_p (B, C, 0) };
int e[__builtin_add_overflow_p (B, C, 0) + 1];
template <int N> int foo (int);
void
bar ()
{
foo <__builtin_add_overflow_p (B, C, 0) + 1> (0);
}