Commit fa3efb13 authored by Victor Zverovich's avatar Victor Zverovich

Add a compile error test.

parent f380dc3d
......@@ -24,3 +24,4 @@ endfunction ()
# Writing a wide character to a character stream Writer is forbidden.
expect_compile_error("fmt::Writer() << L'a';")
expect_compile_error("fmt::Writer() << fmt::pad(\"abc\", 5, L' ');")
expect_compile_error("fmt::Writer() << fmt::pad(42, 5, L' ');")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment