Skip to content

Commit eaa7cb9

Browse files
committed
fix return type in test
1 parent 65c4967 commit eaa7cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaHLSL/BuiltIns/clamp-errors-16bit.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
// check we error on 16 bit type if shader model is too old
99
// CHECK: '-enable-16bit-types' option requires target HLSL Version >= 2018 and shader model >= 6.2, but HLSL Version is 'hlsl202x' and shader model is '6.0'
10-
half test_half_error(TEST_TYPE p0, int p1) {
10+
TEST_TYPE test_half_error(TEST_TYPE p0, int p1) {
1111
return clamp(p0, p1, p1);
1212
}

0 commit comments

Comments
 (0)