Skip to content

Commit 4792e63

Browse files
committed
Fix test
1 parent c7164d0 commit 4792e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaHLSL/vk.spec-constant.error.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
const bool sc0 = true;
99

1010
#ifdef __spirv__
11-
// expected-error@+2{{variable with 'vk::constant_id' attribute cannot have an initializer that is not a constexpr}}
11+
// expected-error@+2{{variable with 'vk::constant_id' attribute cannot have an initializer that is not a literal}}
1212
[[vk::constant_id(1)]]
1313
const bool sc1 = sc0; // error
1414

0 commit comments

Comments
 (0)