File: comclash.f

package info (click to toggle)
ftnchek 2.11.2-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,392 kB
  • ctags: 2,790
  • sloc: ansic: 21,570; fortran: 2,921; yacc: 2,794; sh: 1,623; makefile: 693; lisp: 264; awk: 163
file content (18 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	common /abc/ x,y,z
	abc = 5
	x = abc
	end
	subroutine sub1
	common /abc/ x,y,z
	real abc(5)
	x = abc(1)
	call sub2(x,y)
	call sub2(1.0,2)
	end
	subroutine sub2(a,b)
	common /abc/ x,i,z
	x = abc(1)
	end
	function abc(n)
	abc = n*n
	end