1 // { dg-do run { target c++11 } }
3 // Test user-defined literals.
4 // Test template operator declaration and definition.
18 operator"" _abc<'L','U','E'>()
23 operator"" _abc<'6','6','6'>()
29 int i = operator"" _abc<'1','2','3'>();
31 int universal_meaning = operator"" _abc<'L','U','E'>();
32 assert(universal_meaning == 42);
33 int b = operator"" _abc<'6','6','6'>();
34 int z = operator"" _abc<>();
48 template<char... Chars>
50 { return 42 + sizeof...(Chars); }