Debian Codegraph @

clang/test/OpenMP/begin_declare_variant_elided_range_implementation.c

raw
1 // RUN: %clang_cc1 -triple=x86_64-pc-win32 -verify -fopenmp -x c -std=c99 -fms-extensions -Wno-pragma-pack %s
2 // RUN: %clang_cc1 -triple=x86_64-pc-win32 -verify -fopenmp-simd -x c -std=c99 -fms-extensions -Wno-pragma-pack %s
3
4 // expected-no-diagnostics
5
6 #pragma omp begin declare variant match(implementation={vendor(llvm)})
7 typedef int bar;
8 void f() {}
9 #pragma omp end declare variant
10
11 #pragma omp begin declare variant match(implementation={vendor(ibm)})
12 typedef float bar;
13 void f() {}
14 #pragma omp end declare variant