1 | // REQUIRES: systemz-registered-target |
---|---|
2 | // RUN: %clang_cc1 -target-cpu zEC12 -triple s390x-unknown-unknown \ |
3 | // RUN: -Wall -Wno-unused -Werror -fsyntax-only -verify %s |
4 | |
5 | void test1(void) { |
6 | __builtin_tabort (0); // expected-error {{invalid transaction abort code}} |
7 | __builtin_tabort (255); // expected-error {{invalid transaction abort code}} |
8 | } |
9 | |
10 |