================
@@ -1,27 +1,34 @@
// 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
float test_too_few_arg() {
- return __builtin_hlsl_elementwise_radians();
- // expected-error@-1 {{too few arguments to function call, expected 1, have
0}}
+ return radians();
----------------
kmpeng wrote:
Ok, that's fair. I'll remove `radians-errors.hlsl` and keep it in mind for
future intrinsics
https://github.com/llvm/llvm-project/pull/215379
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits