Skip to content

Commit bacce4f

Browse files
committed
update test - move __hlsl_resource_t case up
1 parent 18c1d96 commit bacce4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/AST/HLSL/cbuffer.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ cbuffer CB {
7373
RWBuffer<float> f2[2];
7474
// CHECK: VarDecl {{.*}} g2 'groupshared float'
7575
groupshared float g2;
76-
// CHECK: VarDecl {{.*}} e2 'hlsl_constant float'
77-
float e2;
7876
// CHECK: VarDecl {{.*}} h2 '__hlsl_resource_t'
7977
__hlsl_resource_t h2;
78+
// CHECK: VarDecl {{.*}} e2 'hlsl_constant float'
79+
float e2;
8080
// CHECK: CXXRecordDecl {{.*}} implicit referenced struct __cblayout_CB_1 definition
8181
// CHECK: PackedAttr
8282
// CHECK-NEXT: FieldDecl {{.*}} a2 'float'

0 commit comments

Comments
 (0)