More tests.
This commit is contained in:
1 parent
0b307248a6
commit
8641461c98
3 files changed
+56
-3
No files matched your search
@@ -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';")
|
||||
Reference in new issue
Block a user