diff options
author | Oleh Prypin <oleh@pryp.in> | 2021-01-20 10:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 10:48:45 +0100 |
commit | 6f4309217326430145564ae8b1bb393ea684f39f (patch) | |
tree | bf4025a5e709426dc927c4afc4fd2286f8450ed9 /tests/examplefiles/cpp/example2.cpp.output | |
parent | f0445be718da83541ea3401aad882f3937147263 (diff) | |
download | pygments-git-6f4309217326430145564ae8b1bb393ea684f39f.tar.gz |
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
Diffstat (limited to 'tests/examplefiles/cpp/example2.cpp.output')
-rw-r--r-- | tests/examplefiles/cpp/example2.cpp.output | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/tests/examplefiles/cpp/example2.cpp.output b/tests/examplefiles/cpp/example2.cpp.output new file mode 100644 index 00000000..87f55152 --- /dev/null +++ b/tests/examplefiles/cpp/example2.cpp.output @@ -0,0 +1,148 @@ +'/*\n * A Test file for the different string literals.\n */' Comment.Multiline +'\n' Text + +'\n' Text + +'#' Comment.Preproc +'include' Comment.Preproc +' ' Text +'<iostream>' Comment.PreprocFile +'\n' Comment.Preproc + +'\n' Text + +'int' Keyword.Type +' ' Text +'main' Name.Function +'(' Punctuation +')' Punctuation +' ' Text +'{' Punctuation +'\n' Text + +' ' Text +'char' Keyword.Type +' ' Text +'*' Operator +'_str' Name +' ' Text +'=' Operator +' ' Text +'"' Literal.String +'a normal string' Literal.String +'"' Literal.String +';' Punctuation +'\n' Text + +' ' Text +'wchar_t' Keyword.Type +' ' Text +'*' Operator +'L_str' Name +' ' Text +'=' Operator +' ' Text +'L' Literal.String.Affix +'"' Literal.String +'a wide string' Literal.String +'"' Literal.String +';' Punctuation +'\n' Text + +' ' Text +'char' Keyword.Type +' ' Text +'*' Operator +'u8_str' Name +' ' Text +'=' Operator +' ' Text +'u8' Literal.String.Affix +'"' Literal.String +'utf-8 string' Literal.String +'"' Literal.String +';' Punctuation +'\n' Text + +' ' Text +'char16_t' Keyword.Type +' ' Text +'*' Operator +'u_str' Name +' ' Text +'=' Operator +' ' Text +'u' Literal.String.Affix +'"' Literal.String +'utf-16 string' Literal.String +'"' Literal.String +';' Punctuation +'\n' Text + +' ' Text +'char32_t' Keyword.Type +' ' Text +'*' Operator +'U_str' Name +' ' Text +'=' Operator +' ' Text +'U' Literal.String.Affix +'"' Literal.String +'utf-32 string' Literal.String +'"' Literal.String +';' Punctuation +'\n' Text + +' ' Text +'char' Keyword.Type +' ' Text +'*' Operator +'R_str' Name +' ' Text +'=' Operator +' ' Text +'R' Literal.String.Affix +'"' Literal.String +'"""' Literal.String.Delimiter +'(' Literal.String.Delimiter +'raw string with\n"""\nas a delimiter' Literal.String +')"""' Literal.String.Delimiter +'"' Literal.String +';' Punctuation +'\n' Text + +'\n' Text + +' ' Text +'std' Name +':' Operator +':' Operator +'cout' Name +' ' Text +'<' Operator +'<' Operator +' ' Text +'R_str' Name +' ' Text +'<' Operator +'<' Operator +' ' Text +'std' Name +':' Operator +':' Operator +'endl' Name +';' Punctuation +'\n' Text + +'\n' Text + +' ' Text +'return' Keyword +' ' Text +'0' Literal.Number.Integer +';' Punctuation +'\n' Text + +'}' Punctuation +'\n' Text |