Skip to content

Commit ac9950f

Browse files
committed
fixup: only specifying space is indeed implicit
1 parent eacde9a commit ac9950f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaHLSL/resource_binding_implicit.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RWBuffer<int> c;
1414
// No warning - explicit binding.
1515
RWBuffer<float> d : register(u0);
1616

17-
// No warning - explicit binding.
17+
// expected-warning@+1 {{resource has implicit register binding}}
1818
RWBuffer<float> dd : register(space1);
1919

2020
// No warning - explicit binding.

0 commit comments

Comments
 (0)