about summary refs log tree commit diff
path: root/t/t4034/ruby/post
diff options
context:
space:
mode:
Diffstat (limited to 't/t4034/ruby/post')
-rw-r--r--t/t4034/ruby/post17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/t4034/ruby/post b/t/t4034/ruby/post
new file mode 100644
index 000000000000..7678f14e148e
--- /dev/null
+++ b/t/t4034/ruby/post
@@ -0,0 +1,17 @@
+10.downto(1) {|y| puts y}
+(1) (-1e10) (0xabcdef) 'y'
+[x] x->y x.y
+!x ~x x++ x-- x*y x&y
+x*y x/y x%y
+x+y x-y
+x<<y x>>y
+x<y x<=y x>y x>=y
+x==y x!=y
+x&y
+x^y
+x|y
+x&&y
+x||y
+x?y:z
+x=y x+=y x-=y x*=y x/=y x%=y x<<=y x>>=y x&=y x^=y x|=y
+x,y