Add wchar.h for wide char overloads

This commit is contained in:
Victor Zverovich
2021-05-17 21:59:10 -07:00
parent ce14eafc24
commit 0dd91e20d5
8 changed files with 105 additions and 47 deletions
+15
View File
@@ -0,0 +1,15 @@
// Formatting library for C++ - formatting library tests
//
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.
//
// For the license information refer to format.h.
#include "fmt/wchar.h"
#include "gtest/gtest.h"
TEST(wchar_test, print) {
// Check that the wide print overload compiles.
if (fmt::detail::const_check(false)) fmt::print(L"test");
}