summaryrefslogtreecommitdiffstats
path: root/t/t4034/cpp/pre
diff options
context:
space:
mode:
Diffstat (limited to 't/t4034/cpp/pre')
-rw-r--r--t/t4034/cpp/pre30
1 files changed, 30 insertions, 0 deletions
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"<<endl;
+1 -1e10 0xabcdef 'x'
+// long double
+3.141592653e-10l
+// float
+120E5f
+// hex
+0xdead'1eaF+8ULL
+// octal
+01234567
+// binary
+0b1000+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