Skip to content

Commit 4edb7fa

Browse files
committed
keep test of missing comma
1 parent 24a2bea commit 4edb7fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaHLSL/RootSignature-err.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ void bad_root_signature_3() {}
2121
[RootSignature("DescriptorTable(), invalid")]
2222
void bad_root_signature_4() {}
2323

24-
// expected-error@+1 {{invalid parameter of RootConstants}}
25-
[RootSignature("RootConstants(b0, num32BitConstants = 1, invalid)")]
24+
// expected-error@+1 {{expected ')'}}
25+
[RootSignature("RootConstants(b0 num32BitConstants = 1)")]
2626
void bad_root_signature_5() {}
2727

2828
#define MultiLineRootSignature \

0 commit comments

Comments
 (0)