2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-constant_p-1.c
blobf177fe34b2cf69e9262999406c44a837ee91d8f5
1 /* { dg-do compile } */
3 int main()
5 if (__builtin_constant_p ()) /* { dg-error "too few arguments" } */
6 return 0;
7 if (__builtin_constant_p (5, 6)) /* { dg-error "too many arguments" } */
8 return 1;
9 return 0;