summaryrefslogtreecommitdiff
path: root/gcd.f90
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-13 10:16:51 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-13 10:16:51 +0200
commit82941c076d5f8d026544158cae438dc2764cb2de (patch)
treec98d9196c7f075cc4667ba88c60ceb06c7df17c6 /gcd.f90
parent1414da584a1953172ce9e92a91e3fb2a86bbf59e (diff)
downloadgcd-82941c076d5f8d026544158cae438dc2764cb2de.tar.gz
Update Fortran
Diffstat (limited to 'gcd.f90')
-rw-r--r--gcd.f901
1 files changed, 1 insertions, 0 deletions
diff --git a/gcd.f90 b/gcd.f90
index c17c61c..d95d3d3 100644
--- a/gcd.f90
+++ b/gcd.f90
@@ -12,6 +12,7 @@ program GCD
character(len=20) :: tmpstr
n = command_argument_count()
+ if (n == 0) stop
allocate (ns(n))