aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl')
-rw-r--r--clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl b/clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl
index 8badaf0..1f70186 100644
--- a/clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl
+++ b/clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -fnative-int16-type -emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected
int test_too_few_arg() {
return firstbithigh();
@@ -12,7 +12,7 @@ int test_too_many_arg(int p0) {
double test_int_builtin(double p0) {
return firstbithigh(p0);
- // expected-error@-1 {{call to 'firstbithigh' is ambiguous}}
+ // expected-error@-1 {{no matching function for call to 'firstbithigh'}}
}
double2 test_int_builtin_2(double2 p0) {