We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a0ccdd commit d3904c4Copy full SHA for d3904c4
clang/test/SemaHLSL/Types/BuiltinVector/BooleanVectorConstantExpr.hlsl
@@ -0,0 +1,9 @@
1
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.6-library -finclude-default-header -std=hlsl202x -verify %s
2
+
3
+// expected-no-diagnostics
4
5
+export void fn() {
6
+ _Static_assert((true.xxxx).y == true, "Woo!");
7
8
+ _Static_assert((true.xx).x && false == false, "Woo!");
9
+}
0 commit comments