This patch creates a SystemZ folder in clang/test/CodeGen to contain systemz-related lit tests. Reviewed By: muiez Differential Revision: https://reviews.llvm.org/D91628
10 lines
348 B
C
10 lines
348 B
C
// REQUIRES: systemz-registered-target
|
|
// RUN: %clang_cc1 -target-cpu zEC12 -triple s390x-unknown-unknown \
|
|
// RUN: -Wall -Wno-unused -Werror -fsyntax-only -verify %s
|
|
|
|
void test1(void) {
|
|
__builtin_tabort (0); // expected-error {{invalid transaction abort code}}
|
|
__builtin_tabort (255); // expected-error {{invalid transaction abort code}}
|
|
}
|
|
|