aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/langs1.f
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-02-12 17:55:09 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-02-12 17:55:09 +0000
commitc44c67b5ae95c3e4201e0cbed7ebf429bc2d664a (patch)
tree5d83675cd0e69cbeead93e8359c2e659582fae7f /gdb/testsuite/gdb.base/langs1.f
parent21af55c92d1da8777dd6b71b686f6672670bf3ba (diff)
downloadgdb-c44c67b5ae95c3e4201e0cbed7ebf429bc2d664a.zip
gdb-c44c67b5ae95c3e4201e0cbed7ebf429bc2d664a.tar.gz
gdb-c44c67b5ae95c3e4201e0cbed7ebf429bc2d664a.tar.bz2
* gdb.base/langs.exp, gdb.base/langs*: New test.
* gdb.base/Makefile.in: Build it. * TODO: Remove item about checking that C names don't get C++ demangling applied; this test tests it.
Diffstat (limited to 'gdb/testsuite/gdb.base/langs1.f')
-rw-r--r--gdb/testsuite/gdb.base/langs1.f7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/langs1.f b/gdb/testsuite/gdb.base/langs1.f
new file mode 100644
index 0000000..35ce691
--- /dev/null
+++ b/gdb/testsuite/gdb.base/langs1.f
@@ -0,0 +1,7 @@
+c I am not sure whether there is a way to have a fortran program without
+c a MAIN, but it does not really harm us to have one.
+ end
+ subroutine fsub
+ integer*4 cppsub
+ return (cppsub (10000))
+ end