Add a compile error test.

This commit is contained in:
Victor Zverovich committed 2014-01-08 08:16:00 -08:00
1 parent f380dc3daa
commit fa3efb1330
1 file changed
+1
+1
View File
@@ -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' ');")