S/390: Fix __builtin_tbeginc signature
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / htm-builtins-compile-4.c
blobc3866bde4a4cb09eb9386008320257c082db1b20
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -march=zEC12 -mzarch" } */
4 /* A bug in the builtin definition made__builtin_tbeginc to have an
5 integer return argument. */
6 void
7 must_not_compile1 (void)
9 int rc = __builtin_tbeginc (); /* { dg-error "void value not ignored as it ought to be" } */