File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ namespace std {
8585 char &operator [](size_t ) const [[clang::lifetimebound]];
8686 };
8787 using string = basic_string<char >;
88- string operator " " s(const char *, size_t ); // expected-warning {{}}
88+ string operator " " s(const char *, size_t ); // expected-warning {{user-defined literal suffixes not starting with '_' are reserved }}
8989
9090 template <typename T>
9191 struct basic_string_view {
@@ -94,7 +94,7 @@ namespace std {
9494 basic_string_view (const string &s [[clang::lifetimebound]]);
9595 };
9696 using string_view = basic_string_view<char >;
97- string_view operator " " sv(const char *, size_t ); // expected-warning {{}}
97+ string_view operator " " sv(const char *, size_t ); // expected-warning {{user-defined literal suffixes not starting with '_' are reserved }}
9898
9999 struct vector {
100100 int *data ();
You can’t perform that action at this time.
0 commit comments