From c8bae7493d2f2910b57f13ded012e86bdcfb0532 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:47:53 +0200 Subject: Adding upstream version 1:2.39.2. Signed-off-by: Daniel Baumann --- t/t4034/cpp/expect | 35 +++++++++++++++++++++++++++++++++++ t/t4034/cpp/post | 30 ++++++++++++++++++++++++++++++ t/t4034/cpp/pre | 30 ++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 t/t4034/cpp/expect create mode 100644 t/t4034/cpp/post create mode 100644 t/t4034/cpp/pre (limited to 't/t4034/cpp') diff --git a/t/t4034/cpp/expect b/t/t4034/cpp/expect new file mode 100644 index 0000000..dc500ae --- /dev/null +++ b/t/t4034/cpp/expect @@ -0,0 +1,35 @@ +diff --git a/pre b/post +index a1a09b7..f1b6f3c 100644 +--- a/pre ++++ b/post +@@ -1,30 +1,30 @@ +Foo() : x(0&&1&42) { foo0bar(x.findFind); } +cout<<"Hello World!?\n"<(1 -+1e10 0xabcdef) 'x2' +// long double +3.141592653e-10l3.141592654e+10l +// float +120E5f120E6f +// hex +0xdead0xdeaf'1eaFeaf+8ULL7ULL +// octal +0123456701234560 +// binary +0b10000b1100+e1 +// expression +1.5-e+23+f +// another one +str.e+6575 +[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 diff --git a/t/t4034/cpp/post b/t/t4034/cpp/post new file mode 100644 index 0000000..f1b6f3c --- /dev/null +++ b/t/t4034/cpp/post @@ -0,0 +1,30 @@ +Foo() : x(0&42) { bar(x.Find); } +cout<<"Hello World?\n"<*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=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<>p q&r s^t u|v +a,b +a:b diff --git a/t/t4034/cpp/pre b/t/t4034/cpp/pre new file mode 100644 index 0000000..a1a09b7 --- /dev/null +++ b/t/t4034/cpp/pre @@ -0,0 +1,30 @@ +Foo():x(0&&1){ foo0( x.find); } +cout<<"Hello World!\n"<v d.e +!a ~b c++ d-- e*f g&h +a*b c/d e%f +a+b c-d +a<>d +af 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 -- cgit v1.2.3