[libc][test] Adjust header paths in tests (#119623)
[llvm-project.git] / clang / test / OpenMP / constexpr_partial_array.cpp
blob70420f23107652f74a62093ab733d7778b6aaabe
1 // RUN: %clang_cc1 -verify -triple x86_64-pc-windows-msvc19.22.27905 -emit-llvm -o - -fopenmp %s | FileCheck %s
2 // expected-no-diagnostics
4 // CHECK: [[C_VAR_VAL:@.+]] = private unnamed_addr constant <{ i8, [26 x i8] }> <{ i8 1, [26 x i8] zeroinitializer }>,
5 char a;
6 bool b() {
7 static constexpr bool c[27]{1};
8 // CHECK: getelementptr inbounds [27 x i8], ptr [[C_VAR_VAL]],
9 return c[a];