1 // { dg-do run { target c++11 } }
3 // Test user-defined literals.
4 // Test simple operator declaration and definition in namespaces.
11 long double operator"" _LL(long double);
17 operator"" _SS(long double x)
18 { return std::fmod(x, static_cast<long double>(std::numeric_limits<short>::max())); }
24 long double x = Long::operator "" _LL(1.2L);
26 using namespace Short;
27 short s = operator"" _SS(1.2L);
40 operator"" _LL(long double x)