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 9b51d47 commit 80e6f1cCopy full SHA for 80e6f1c
clang/test/Driver/dxc_enable16bittypes.hlsl
@@ -0,0 +1,8 @@
1
+// RUN: not %clang_dxc -enable-16bit-types -T lib_6_7 foo.hlsl -### %s 2>&1 | FileCheck %s
2
+// RUN: %clang_dxc -enable-16bit-types -T lib_6_7 %s -Xclang -verify
3
+
4
+// Make sure enable-16bit-types flag translates into '-fnative-half-type' and 'fnative-int16-type'
5
+// CHECK: "-fnative-half-type"
6
+// CHECK-SAME: "-fnative-int16-type"
7
8
+// expected-no-diagnostics
0 commit comments