File: julia-expr_09-838f740.stdout

package info (click to toggle)
lfortran 0.59.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 56,736 kB
  • sloc: cpp: 168,052; f90: 74,272; python: 17,537; ansic: 7,705; yacc: 2,345; sh: 1,334; fortran: 895; makefile: 37; javascript: 15
file content (22 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function main()
    local x4::Int32
    local x8::Int64
    local y4::Int32
    local y8::Int64
    y4 = 5
    x4 = y4 ^ 2
    println(y4, " ", x4)
    if x4 ≠ 25
        println(Base.stderr, "ERROR STOP")
        exit(1)
    end
    y8 = 5
    x8 = y8 ^ 2
    println(y8, " ", x8)
    if x8 ≠ 25
        println(Base.stderr, "ERROR STOP")
        exit(1)
    end
end

main()