* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / pr70144-1.c
blob01c7b78b1792bd57f7d2ee651aa961c9f98bfce5
1 /* PR c++/70144 */
2 /* { dg-do compile } */
4 void
5 foo ()
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" } */