Skip to content

Commit

Permalink
Add -HV 2021 to test that uses templates (microsoft#5544)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dmpots authored Aug 14, 2023
1 parent fc796a0 commit 756125c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %dxc -E main -T ps_6_0 -fcgl %s | FileCheck %s
// RUN: %dxc -E main -T ps_6_0 -fcgl -Zi -Qembed_debug %s | FileCheck -check-prefixes=CHECK,DI %s
// RUN: %dxc -HV 2021 -E main -T ps_6_0 -fcgl %s | FileCheck %s
// RUN: %dxc -HV 2021 -E main -T ps_6_0 -fcgl -Zi -Qembed_debug %s | FileCheck -check-prefixes=CHECK,DI %s

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

0 comments on commit 756125c

Please sign in to comment.