[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / openmp / libomptarget / test / libc / assert.c
blob9a10032f481893d49d6f3461354583052541fbf0
1 // RUN: %libomptarget-compile-generic && %libomptarget-run-fail-generic 2>&1 | \
2 // RUN: %fcheck-generic --check-prefix=CHECK
4 // REQUIRES: libc
6 // UNSUPPORTED: powerpc64-ibm-linux-gnu
7 // UNSUPPORTED: powerpc64-ibm-linux-gnu-LTO
8 // UNSUPPORTED: aarch64-unknown-linux-gnu
9 // UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10 // UNSUPPORTED: x86_64-pc-linux-gnu
11 // UNSUPPORTED: x86_64-pc-linux-gnu-LTO
13 #include <assert.h>
15 int main() {
16 // CHECK: Assertion failed: '0 && "Trivial failure"' in function: 'int main()'
17 // CHECK-NOT: Assertion failed:
18 #pragma omp target
19 #pragma omp parallel
20 { assert(0 && "Trivial failure"); }