OSDN Git Service

Implement C++11 user-defined literals.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / udlit-raw-str.C
1 // { dg-options -std=c++0x }
2
3 #include <string>
4
5 std::string operator"" _i18n(const char*, std::size_t);
6
7 std::string vogon_poem = R"V0G0N(
8                 O freddled gruntbuggly thy micturations are to me
9                     As plured gabbleblochits on a lurgid bee.
10                  Groop, I implore thee my foonting turlingdromes.   
11               And hooptiously drangle me with crinkly bindlewurdles,
12   Or I will rend thee in the gobberwarts with my blurlecruncheon, see if I don't.
13
14                     (by Prostetnic Vogon Jeltz; see p. 56/57)
15 )V0G0N"_i18n;