1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
3 int &operator "" _x1 (unsigned long long);
6 double &operator "" _x1 (const char *);
9 template<char...> char &operator "" _x1 ();
12 int &i4
= 90000000000000000000000000000000000000000000000_x1
; // expected-error {{integer literal is too large to be represented in any integer type}}
14 double &operator "" _x2 (const char *);
15 double &i5
= 123123123123123123123123123123123123123123123_x2
;
17 template<char...Cs
> constexpr int operator "" _x3() { return sizeof...(Cs
); }
18 static_assert(123456789012345678901234567890123456789012345678901234567890_x3
== 60, "");