Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
builtin-constant_p-1.c
blob: f177fe34b2cf69e9262999406c44a837ee91d8f5 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
int
main
()
{
if
(
__builtin_constant_p
())
/* { dg-error "too few arguments" } */
return
0
;
if
(
__builtin_constant_p
(
5
,
6
))
/* { dg-error "too many arguments" } */
return
1
;
return
0
;
}