Update compile-test

This commit is contained in:
Victor Zverovich 2015-03-01 17:03:44 -08:00
parent 1244f3d58f
commit 2e3423b053

View File

@ -27,8 +27,8 @@ expect_compile_error("volatile char s[] = \"test\"; (fmt::internal::MakeArg<char
expect_compile_error("const volatile char s[] = \"test\"; (fmt::internal::MakeArg<char>)(s);") expect_compile_error("const volatile char s[] = \"test\"; (fmt::internal::MakeArg<char>)(s);")
# MakeArg<char> doesn't accept wchar_t. # MakeArg<char> doesn't accept wchar_t.
expect_compile_error("fmt::internal::MakeArg<char>(L'a');") expect_compile_error("fmt::internal::MakeValue<char>(L'a');")
expect_compile_error("fmt::internal::MakeArg<char>(L\"test\");") expect_compile_error("fmt::internal::MakeValue<char>(L\"test\");")
# Writing a wide character to a character stream Writer is forbidden. # Writing a wide character to a character stream Writer is forbidden.
expect_compile_error("fmt::MemoryWriter() << L'a';") expect_compile_error("fmt::MemoryWriter() << L'a';")