repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c/64856
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
builtin-constant_p-1.c
blob
b0b34f4a1e170a185c62168d9575329bddc9c498
1
/* { dg-do compile } */
2
3
int
main
()
4
{
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
;
10
}