Skip to content

Commit 80e6f1c

Browse files
committed
address pr comment
1 parent 9b51d47 commit 80e6f1c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)