Files
codeql/ruby/ql/test/library-tests/controlflow/graph/case.rb
2021-10-15 11:47:28 +02:00

7 lines
103 B
Ruby

def if_in_case
case x1
when 1 then (if x2 then puts "x2" end)
when 2 then puts "2"
end
end