1 // RUN: %clang_cc1 -std=c++1z %s -include %s -verify
6 #pragma clang system_header
8 using size_t = decltype(sizeof(0));
10 struct string_view
{};
11 string_view
operator""sv(const char*, size_t);
17 string_view s
= "foo"sv
;
18 const char* p
= "bar"sv
; // expected-error {{no viable conversion}}
19 char error
= 'x'sv
; // expected-error {{invalid suffix}} expected-error {{expected ';'}}