mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-28 21:01:04 +00:00
Add a compile error test.
This commit is contained in:
parent
f380dc3daa
commit
fa3efb1330
@ -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' ');")
|
||||
|
Loading…
Reference in New Issue
Block a user