Skip to content

Commit

Permalink
Fixup two more instances of microsoftGH-1030 that only trigger with t…
Browse files Browse the repository at this point in the history
…he internal compiler
  • Loading branch information
CaseyCarter committed Jul 16, 2020
1 parent 3a9c91b commit 0c8ecf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ struct instantiator {
};

int main() {
#ifndef _PREFAST_ // TRANSITION, GH-1030
STATIC_ASSERT((test_in_write<instantiator, P const, P>(), true));
#endif // TRANSITION, GH-1030
test_in_write<instantiator, P const, P>();
}
2 changes: 2 additions & 0 deletions tests/std/tests/P0896R4_ranges_alg_mismatch/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ constexpr void smoke_test() {
}

int main() {
#ifndef _PREFAST_ // TRANSITION, GH-1030
STATIC_ASSERT((smoke_test(), true));
#endif // TRANSITION, GH-1030
smoke_test();
}

Expand Down

0 comments on commit 0c8ecf5

Please sign in to comment.