1// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 2 3int &operator "" _x1 (long double); 4int &i1 = 0.123_x1; 5 6double &operator "" _x1 (const char *); 7int &i2 = 45._x1; 8 9template<char...> char &operator "" _x1 (); 10int &i3 = 0377e-1_x1; 11 12int &i4 = 1e1000000_x1; // expected-warning {{too large for type 'long double'}} 13 14double &operator "" _x2 (const char *); 15double &i5 = 1e1000000_x2; 16 17template<char...Cs> constexpr int operator "" _x3() { return sizeof...(Cs); } 18static_assert(1e1000000_x3 == 9, ""); 19