summaryrefslogtreecommitdiff
path: root/src/test/java/net/sf/antcontrib/cpptasks
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-11-25 22:28:55 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-11-25 22:28:55 +0100
commite38d012eb2885c08b67ede65cbce13d8f8ea9f93 (patch)
tree9b8aa1fe8a2f0a406b8b5e0aba28e9f13690a172 /src/test/java/net/sf/antcontrib/cpptasks
parentc2c0d9ade4c219650ca7885a20e859f96bc2ba4e (diff)
downloadcpptasks-parallel-e38d012eb2885c08b67ede65cbce13d8f8ea9f93.tar.gz
cpptasks-parallel-e38d012eb2885c08b67ede65cbce13d8f8ea9f93.tar.bz2
cpptasks-parallel-e38d012eb2885c08b67ede65cbce13d8f8ea9f93.tar.xz
cpptasks-parallel-e38d012eb2885c08b67ede65cbce13d8f8ea9f93.zip
Fixed NAR-108
Diffstat (limited to 'src/test/java/net/sf/antcontrib/cpptasks')
-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);
+ }
+
}