1 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -fsyntax-only -verify %s
3 Resource ResourceDescriptorHeap[5];
4 typedef vector<float, 3> float3;
6 RWBuffer<float3> Buffer;
10 (void)Buffer.h; // expected-error {{'h' is a private member of 'hlsl::RWBuffer<float __attribute__((ext_vector_type(3)))>'}}
11 // expected-note@* {{implicitly declared private here}}