16 lines · plain
1// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -ast-dump-filter=__is_structured_resource_element_compatible %s | FileCheck %s2 3// CHECK: ConceptDecl {{.*}} __is_structured_resource_element_compatible4// CHECK: |-TemplateTypeParmDecl {{.*}} referenced typename depth 0 index 0 element_type5// CHECK: `-BinaryOperator {{.*}} 'bool' lvalue '&&'6// CHECK: |-UnaryOperator {{.*}} 'bool' lvalue prefix '!' cannot overflow7// CHECK: | `-TypeTraitExpr {{.*}} 'bool' __builtin_hlsl_is_intangible8// CHECK: | `-TemplateTypeParmType {{.*}} 'element_type' dependent depth 0 index 09// CHECK: | `-TemplateTypeParm {{.*}} 'element_type'10// CHECK: `-BinaryOperator {{.*}} 'bool' lvalue '>='11// CHECK: |-UnaryExprOrTypeTraitExpr {{.*}} 'bool' sizeof 'element_type'12// CHECK: `-IntegerLiteral {{.*}} '__size_t':'unsigned long' 113 14 15StructuredBuffer<float> Buffer;16