1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
12 unsigned char _highlightColorTableVGA[];
13 static const unsigned char b[];
15 // CHECK: [[Common_A_b:@[^ ]+]] = constant [1 x i8] zeroinitializer
18 Common::RenderMode _configRenderMode;
20 class C : public B {};
22 0 == Common::kRenderCGA || _vm->_configRenderMode == Common::kRenderEGA
24 : _highlightColorTableVGA;
25 // Make sure the PHI value is casted correctly to the PHI type
26 // CHECK: %{{.*}} = phi [0 x i8]* [ bitcast ([1 x i8]* [[Common_A_b]] to [0 x i8]*), %{{.*}} ], [ %{{.*}}, %{{.*}} ]
28 const unsigned char A::b[] = { 0 };