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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
builtin-constant_p-1.c
blob
f177fe34b2cf69e9262999406c44a837ee91d8f5
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
}