Skip to content

Commit

Permalink
[libcxx] [test] Add LIBCPP_ONLY() around another test for an implemen…
Browse files Browse the repository at this point in the history
…tation detail

Differential Revision: https://reviews.llvm.org/D89675
  • Loading branch information
mstorsjo committed Oct 19, 2020
1 parent 41c5070 commit cf9831b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main(int, char**) {
typedef std::underlying_type<E>::type UT;
static_assert(!std::is_convertible<E, UT>::value, "");

static_assert(std::is_same<UT, unsigned char >::value, ""); // Implementation detail
LIBCPP_ONLY(static_assert(std::is_same<UT, unsigned char >::value, "")); // Implementation detail

typedef check_bitmask_type<E, E::replace, E::nofollow> BitmaskTester;
assert(BitmaskTester::check());
Expand Down

0 comments on commit cf9831b

Please sign in to comment.