summaryrefslogtreecommitdiff
path: root/src/test/java/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/net')
-rw-r--r--src/test/java/net/sf/antcontrib/cpptasks/gcc/TestGccCCompiler.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestGccCCompiler.java b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestGccCCompiler.java
index 3abe409..79dc1b2 100644
--- a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestGccCCompiler.java
+++ b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestGccCCompiler.java
@@ -77,4 +77,10 @@ public class TestGccCCompiler extends TestGccCompatibleCCompiler {
new File("foo.FoR"));
assertTrue(parser instanceof FortranParser);
}
+ public void testCreateFortranParser3() {
+ Parser parser = GccCCompiler.getInstance().createParser(
+ new File("foo.f90"));
+ assertTrue(parser instanceof FortranParser);
+ }
+
}