view gcc/testsuite/g++.dg/cpp0x/udlit-raw-str.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// { dg-do compile { target c++11 } }

#include <string>

std::string operator"" _i18n(const char*, std::size_t);

std::string vogon_poem = R"V0G0N(
                O freddled gruntbuggly thy micturations are to me
                    As plured gabbleblochits on a lurgid bee.
                 Groop, I implore thee my foonting turlingdromes.   
              And hooptiously drangle me with crinkly bindlewurdles,
  Or I will rend thee in the gobberwarts with my blurlecruncheon, see if I don't.

                    (by Prostetnic Vogon Jeltz; see p. 56/57)
)V0G0N"_i18n;