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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr70144-1.c
blob
01c7b78b1792bd57f7d2ee651aa961c9f98bfce5
1
/* PR c++/70144 */
2
/* { dg-do compile } */
3
4
void
5
foo
()
6
{
7
__builtin_constant_p
(
__builtin_constant_p
) ?: ({
unsigned
t
=
0
;
t
; });
/* { dg-error "must be directly called" } */
8
__builtin_classify_type
(
__builtin_expect
);
/* { dg-error "must be directly called" } */
9
}