PR c/64856
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-constant_p-1.c
blobb0b34f4a1e170a185c62168d9575329bddc9c498
1 /* { dg-do compile } */
3 int main()
5 if (__builtin_constant_p ()) /* { dg-error "not enough" } */
6 return 0;
7 if (__builtin_constant_p (5, 6)) /* { dg-error "too many" } */
8 return 1;
9 return 0;