introduce TDF_compare_debug, omit OBJ_TYPE_REF casts with it
[official-gcc.git] / libgo / misc / cgo / fortran / fortran_test.go
blobd0cb9f22463007730abdb458084e176bc353b50f
1 // Copyright 2016 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 package fortran
7 import "testing"
9 func TestFortran(t *testing.T) {
10 if a := TheAnswer(); a != 42 {
11 t.Errorf("Unexpected result for The Answer. Got: %d Want: 42", a)