diff options
| author | Johannes Sixt <j6t@kdbg.org> | 2021-10-10 17:03:02 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-10-10 15:24:21 -0700 |
| commit | bfaaf191a5470cb81ce327bc3b9ef9e277c9767b (patch) | |
| tree | c9f4ef67f69af9c7265d73d998fe51e80b183c39 /t/t4034/cpp/pre | |
| parent | 350b87cd658553598a269fdd320ca05ee4789a10 (diff) | |
| download | git-bfaaf191a5470cb81ce327bc3b9ef9e277c9767b.tar.gz | |
userdiff-cpp: prepare test cases with yet unsupported features
We are going to add support for C++'s digit-separating single-quote and
the spaceship operator. By adding the test cases in this separate
commit, the effect on the word highlighting will become more obvious
as the features are implemented and the file cpp/expect is updated.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/cpp/pre')
| -rw-r--r-- | t/t4034/cpp/pre | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/t4034/cpp/pre b/t/t4034/cpp/pre index 1229cdb59d..144cd980d6 100644 --- a/t/t4034/cpp/pre +++ b/t/t4034/cpp/pre @@ -2,15 +2,15 @@ Foo():x(0&&1){ foo0( x.find); } cout<<"Hello World!\n"<<endl; 1 -1e10 0xabcdef 'x' // long double -3.141592653e-10l +3.141'592'653e-10l // float 120E5f // hex -0xdeadbeaf+8ULL +0xdead'beaf+8ULL // octal -01234567 +0123'4567 // binary -0b1000+e1 +0b10'00+e1 // expression 1.5-e+2+f // another one @@ -20,7 +20,7 @@ str.e+65 a*b c/d e%f a+b c-d a<<b c>>d -a<b c<=d e>f g>=h +a<b c<=d e>f g>=h i<=j a==b c!=d a^b c|d e&&f a||b |
