From e38d012eb2885c08b67ede65cbce13d8f8ea9f93 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Wed, 25 Nov 2009 22:28:55 +0100 Subject: Fixed NAR-108 --- src/test/java/net/sf/antcontrib/cpptasks/gcc/TestGccCCompiler.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/test') 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); + } + } -- cgit v1.2.3