1 // RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
2 // RUN: dxil-pc-shadermodel6.3-library %s \
3 // RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s
5 // Make sure cbuffer inside namespace works.
6 // CHECK: @[[CB:.+]] = external constant { float }
7 // CHECK: @[[TB:.+]] = external constant { float }
20 // CHECK: load float, ptr @[[CB]], align 4
21 // CHECK: load float, ptr @[[TB]], align 4
22 return n0::n1::a + n0::b;