aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaOpenMP/riscv-vector-with-openmp.c
blob: 5dae3eb9ce0b0a22b3d4c5781575a102d3c50eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -triple riscv64 -target-feature +v -fsyntax-only \
// RUN: -verify -fopenmp %s
// REQUIRES: riscv-registered-target

// expected-no-diagnostics

void foo() {
  #pragma omp parallel
  {
    __rvv_int32m1_t i32m1;
  }
}