mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
14 lines
123 B
Ruby
14 lines
123 B
Ruby
def m1 x
|
|
if x > 2
|
|
exit 1
|
|
end
|
|
puts "x <= 2"
|
|
end
|
|
|
|
def m2 x
|
|
if x > 2
|
|
abort "abort!"
|
|
end
|
|
puts "x <= 2"
|
|
end
|