Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr94755.c
blob: 3520864c77a9ad4b3e21482bc1ca166f12891d7a [
file
] [
log
] [
blame
]
/* PR c/94755 */
/* { dg-do compile } */
extern
void
foo
(
void
);
void
bar
(
double
x
)
{
if
(
x
==
__builtin_speculation_safe_value
())
/* { dg-error "too few arguments to function" } */
foo
();
}