1*b5890a32SAlexey Bataev // RUN: %clang_cc1 -verify -triple x86_64-pc-windows-msvc19.22.27905 -emit-llvm -o - -fopenmp %s | FileCheck %s 2*b5890a32SAlexey Bataev // expected-no-diagnostics 3*b5890a32SAlexey Bataev 4*b5890a32SAlexey Bataev // CHECK: [[C_VAR_VAL:@.+]] = private unnamed_addr constant <{ i8, [26 x i8] }> <{ i8 1, [26 x i8] zeroinitializer }>, 5*b5890a32SAlexey Bataev char a; 6*b5890a32SAlexey Bataev bool b() { 7*b5890a32SAlexey Bataev static constexpr bool c[27]{1}; 8*b5890a32SAlexey Bataev // CHECK: getelementptr inbounds [27 x i8], [27 x i8]* bitcast (<{ i8, [26 x i8] }>* [[C_VAR_VAL]] to [27 x i8]*), 9*b5890a32SAlexey Bataev return c[a]; 10*b5890a32SAlexey Bataev } 11