Fixed cpp0x_raw_string_literals.i test case.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matevz Jekovec 2009-07-15 21:03:04 +00:00
commit 9fe598cd97

View file

@ -26,16 +26,17 @@ int u8R = 100;
int uR = 100; int uR = 100;
int UR = 100; int UR = 100;
string a ="ABC"; char *a = "ABC";
wstring wide = L"ABC"; wstring wide = L"ABC";
string b =u8"ABC"; //char *b = u8"ABC"; // not supported by GCC
string c =u"ABC"; char16_t *c = u"ABC";
string d =U"ABC"; char32_t *d = U"ABC";
string e =R"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX"; /* Raw string literals are not supported by GCC yet */
/*char *e = R"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX";
wstring wide2 = LR"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX"; wstring wide2 = LR"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX";
string f =u8R"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX"; char *f = u8R"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX";
string g =uR"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX"; char16_t *g = uR"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX";
string h =UR"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX"; char32_t *h = UR"XXX[to be or "not" to be [these are parenthesis], this is the question!]XXX";
*/
%} %}