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