~ubuntu-branches/ubuntu/edgy/ftnchek/edgy

« back to all changes in this revision

Viewing changes to test/Okay/intrinstest.fc7

  • Committer: Bazaar Package Importer
  • Author(s): Mark Brown
  • Date: 2002-03-28 10:49:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020328104950-kssfxlf8u0qsfelr
Tags: upstream-3.1.2
ImportĀ upstreamĀ versionĀ 3.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
FTNCHEK Version 3.1 May 2001
 
3
 
 
4
File intrinstest.f:
 
5
      5       z = sqrt(i)
 
6
                       ^
 
7
Error near line 5 col 16 file intrinstest.f: illegal argument data type for
 
8
 intrinsic function SQRT: intg I
 
9
      6       i = max(x,i)
 
10
                      ^
 
11
Error near line 6 col 15 file intrinstest.f: type mismatch between intrinsic
 
12
 function arguments: real X , intg I
 
13
     14       i = iargc(0)
 
14
                        ^
 
15
Error near line 14 col 17 file intrinstest.f: wrong number of arguments for
 
16
 intrinsic function IARGC
 
17
 
 
18
Warning in module %MAIN in file intrinstest.f: Variables set but never used:
 
19
    Z set at line 5 file intrinstest.f
 
20
 
 
21
Warning in module %MAIN in file intrinstest.f: Variables used before set
 
22
    Y used at line 3 file intrinstest.f; never set
 
23
 
 
24
Warning in module %MAIN in file intrinstest.f: Variables may be used before
 
25
 set:
 
26
    I used at line 5 file intrinstest.f
 
27
    I set at line 6 file intrinstest.f
 
28
 
 
29
 3 syntax errors detected in file intrinstest.f
 
30
 3 warnings issued in file intrinstest.f
 
31
 
 
32
Warning: Subprogram RAN never defined
 
33
    Invoked in module %MAIN line 18 file intrinstest.f
 
34
    (possibly it is an array which was not declared)