bfaaf191a5
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>
31 lines
430 B
Plaintext
31 lines
430 B
Plaintext
Foo():x(0&&1){ foo0( x.find); }
|
|
cout<<"Hello World!\n"<<endl;
|
|
1 -1e10 0xabcdef 'x'
|
|
// long double
|
|
3.141'592'653e-10l
|
|
// float
|
|
120E5f
|
|
// hex
|
|
0xdead'beaf+8ULL
|
|
// octal
|
|
0123'4567
|
|
// binary
|
|
0b10'00+e1
|
|
// expression
|
|
1.5-e+2+f
|
|
// another one
|
|
str.e+65
|
|
[a] b->v d.e
|
|
!a ~b c++ d-- e*f g&h
|
|
a*b c/d e%f
|
|
a+b c-d
|
|
a<<b c>>d
|
|
a<b c<=d e>f g>=h i<=j
|
|
a==b c!=d
|
|
a^b c|d e&&f
|
|
a||b
|
|
a?b
|
|
a=b c+=d e-=f g*=h i/=j k%=l m<<=n o>>=p q&=r s^=t u|=v
|
|
a,b
|
|
a::b
|