[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / SystemZ / builtins-systemz-error.c
blob73431b0a320e496ced5d96c04b5b25d294f6c4b0
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
5 void test1(void) {
6 __builtin_tabort (0); // expected-error {{invalid transaction abort code}}
7 __builtin_tabort (255); // expected-error {{invalid transaction abort code}}