blob: c3866bde4a4cb09eb9386008320257c082db1b20 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { dg-options "-O3 -march=zEC12 -mzarch" } */
/* A bug in the builtin definition made__builtin_tbeginc to have an
integer return argument. */
void
must_not_compile1 (void)
{
int rc = __builtin_tbeginc (); /* { dg-error "void value not ignored as it ought to be" } */
}
|