blob: 67d76a6d3d31511ef44639673c367cf34109f319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-O3 -march=zEC12 -mzarch" } */
void must_not_compile1 (void)
{
__builtin_tabort (0); /* { dg-error "Invalid transaction abort code:" } */
}
void must_not_compile2 (void)
{
__builtin_tabort (255); /* { dg-error "Invalid transaction abort code:" } */
}
|