More tests.

This commit is contained in:
Victor Zverovich committed 2014-04-27 06:56:12 -07:00
1 parent 0b307248a6
commit 8641461c98
3 files changed
+56 -3

No files matched your search

+3
View File
@@ -33,3 +33,6 @@ expect_compile_error("fmt::Writer a, b; b = a;")
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' ');")
# Formatting a wide character with a narrow format string is forbidden.
expect_compile_error("Format(\"{}\") << L'a';")