Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/builtin-constant_p-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 | |
3 int main() | |
4 { | |
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; | |
10 } |