Debian Codegraph @

gcc/testsuite/c-c++-common/pr70144-1.c

raw
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 }