Skip to content

Commit 756125c

Browse files
authored
Add -HV 2021 to test that uses templates (microsoft#5544)
A recent fix (microsoft#5534) modified this test by removing the `-HV 2021` flag. That change was fine because flag is not needed now that 2021 is the default language version. However, we have a downstream consumer of this repo where we have not yet migrated to 2021 as the default language version. Rather than modifying the test in the downstream repo it was suggested that we add the flag back in the upstream repo to minimize churn.
1 parent fc796a0 commit 756125c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/clang/test/HLSLFileCheck/hlsl/template/templateStructFunc.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %dxc -E main -T ps_6_0 -fcgl %s | FileCheck %s
2-
// RUN: %dxc -E main -T ps_6_0 -fcgl -Zi -Qembed_debug %s | FileCheck -check-prefixes=CHECK,DI %s
1+
// RUN: %dxc -HV 2021 -E main -T ps_6_0 -fcgl %s | FileCheck %s
2+
// RUN: %dxc -HV 2021 -E main -T ps_6_0 -fcgl -Zi -Qembed_debug %s | FileCheck -check-prefixes=CHECK,DI %s
33

44
// The goal of this test is to verify the instantiations of `foo` are correctly
55
// generated _and_ to verify that the correct debug information is generated for

0 commit comments

Comments
 (0)