mirror of
https://github.com/microsoft/GSL.git
synced 2026-02-01 19:10:23 +01:00
Enabled -Wall for gcc and clang.
This commit is contained in:
@@ -100,6 +100,7 @@ SUITE(string_span_tests)
|
||||
{
|
||||
char stack_string[] = "Hello";
|
||||
cstring_span<> v = ensure_z(stack_string);
|
||||
(void)v;
|
||||
#ifdef CONFIRM_COMPILATION_ERRORS
|
||||
string_span<> v2 = v;
|
||||
string_span<> v3 = "Hello";
|
||||
|
||||
Reference in New Issue
Block a user