Add a compile error test.
This commit is contained in:
1 parent
f380dc3daa
commit
fa3efb1330
1 file changed
+1
@@ -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' ');")
|
||||
Reference in new issue
Block a user