summaryrefslogtreecommitdiffstats
path: root/tests/snippets/c/test_preproc_file2.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/c/test_preproc_file2.txt')
-rw-r--r--tests/snippets/c/test_preproc_file2.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/snippets/c/test_preproc_file2.txt b/tests/snippets/c/test_preproc_file2.txt
new file mode 100644
index 0000000..5d6ef3b
--- /dev/null
+++ b/tests/snippets/c/test_preproc_file2.txt
@@ -0,0 +1,17 @@
+---input---
+#include "foo.h"
+# include "foo.h"
+
+---tokens---
+'#' Comment.Preproc
+'include' Comment.Preproc
+' ' Text.Whitespace
+'"foo.h"' Comment.PreprocFile
+'\n' Comment.Preproc
+
+'#' Comment.Preproc
+' ' Text.Whitespace
+'include' Comment.Preproc
+' ' Text.Whitespace
+'"foo.h"' Comment.PreprocFile
+'\n' Comment.Preproc