aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/lexer+basics.test.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-18 08:00:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-19 13:00:11 +0200
commit6a2d1e3062964fc16cfbc43bc69284f854c35dca (patch)
tree33b10d64adaa01d6afd58f121cb77bdde53d4116 /libbuild2/cc/lexer+basics.test.testscript
parentf91468192ad7066a5e6fa63ddc4e4231e632a457 (diff)
Handle C++20 module partitions in scanner
Diffstat (limited to 'libbuild2/cc/lexer+basics.test.testscript')
-rw-r--r--libbuild2/cc/lexer+basics.test.testscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/libbuild2/cc/lexer+basics.test.testscript b/libbuild2/cc/lexer+basics.test.testscript
new file mode 100644
index 0000000..65c6edf
--- /dev/null
+++ b/libbuild2/cc/lexer+basics.test.testscript
@@ -0,0 +1,14 @@
+# file : libbuild2/cc/lexer+basics.test.testscript
+# license : MIT; see accompanying LICENSE file
+
+# Test lexer basics (token recognition, etc)
+#
+
+# colon-scope
+#
+$* <<EOI >>EOO
+:::
+EOI
+'::'
+':'
+EOO