git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
50 lines
842 B
Python
50 lines
842 B
Python
from cpp0x_raw_string_literals import *
|
|
|
|
if cvar.L != 100:
|
|
raise RuntimeError
|
|
|
|
if cvar.u8 != 100:
|
|
raise RuntimeError
|
|
|
|
if cvar.u != 100:
|
|
raise RuntimeError
|
|
|
|
if UStruct.U != 100:
|
|
raise RuntimeError
|
|
|
|
|
|
if cvar.R != 100:
|
|
raise RuntimeError
|
|
|
|
if cvar.LR != 100:
|
|
raise RuntimeError
|
|
|
|
if cvar.u8R != 100:
|
|
raise RuntimeError
|
|
|
|
if cvar.uR != 100:
|
|
raise RuntimeError
|
|
|
|
if URStruct.UR != 100:
|
|
raise RuntimeError
|
|
|
|
|
|
if cvar.aa != "Wide string":
|
|
raise RuntimeError
|
|
|
|
if cvar.bb != "UTF-8 string":
|
|
raise RuntimeError, cvar.wide
|
|
|
|
if cvar.xx != ")I'm an \"ascii\" \\ string.":
|
|
raise RuntimeError, cvar.xx
|
|
|
|
if cvar.ee != ")I'm an \"ascii\" \\ string.":
|
|
raise RuntimeError, cvar.ee
|
|
|
|
if cvar.ff != "I'm a \"raw wide\" \\ string.":
|
|
raise RuntimeError, cvar.ff
|
|
|
|
if cvar.gg != "I'm a \"raw UTF-8\" \\ string.":
|
|
raise RuntimeError, cvar.gg
|
|
|
|
|