// RUN: %clang_cc1 -std=c++2a -verify %s template struct check; // expected-note {{template is declared here}} template <> struct check {}; template int operator""_x() { // #1 expected-warning {{string literal operator templates are a GNU extension}} check chars; // expected-error {{implicit instantiation of undefined template 'check'}} return 1; } int a = u8"\"ั‚ะตัั‚ ๐€€"_x; int b = u8"\"ั‚ะตัั‚_๐€€"_x; // expected-note {{in instantiation of function template specialization 'operator""_x' requested here}} template struct C{}; C::D d; // expected-error {{no type named 'D' in 'C'}}