Warning, /frameworks/ktexteditor/autotests/input/indent/julia/indentpaste2/expected is written in an unsupported language. File is not indexed.

0001 function test()
0002     for i in 1:50
0003         function hypot(x,y)
0004             x = abs(x)
0005             y = abs(y)
0006             if x > y
0007                 r = y/x
0008                 return x*sqrt(1+r*r)
0009             end
0010             if y == 0
0011                 return zero(x)
0012             end
0013             r = x/y
0014             return y*sqrt(1+r*r)
0015         end
0016     end
0017 end