aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/fortran/testdata/testprog/answer.f90
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/fortran/testdata/testprog/answer.f90')
-rw-r--r--misc/cgo/fortran/testdata/testprog/answer.f909
1 files changed, 0 insertions, 9 deletions
diff --git a/misc/cgo/fortran/testdata/testprog/answer.f90 b/misc/cgo/fortran/testdata/testprog/answer.f90
deleted file mode 100644
index b3717ee27a..0000000000
--- a/misc/cgo/fortran/testdata/testprog/answer.f90
+++ /dev/null
@@ -1,9 +0,0 @@
-! Copyright 2016 The Go Authors. All rights reserved.
-! Use of this source code is governed by a BSD-style
-! license that can be found in the LICENSE file.
-
-function the_answer() result(j) bind(C)
- use iso_c_binding, only: c_int
- integer(c_int) :: j ! output
- j = 42
-end function the_answer