summaryrefslogtreecommitdiffstats
path: root/src/tests/org/anarres/cpp/MainTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/org/anarres/cpp/MainTestCase.java')
-rw-r--r--src/tests/org/anarres/cpp/MainTestCase.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tests/org/anarres/cpp/MainTestCase.java b/src/tests/org/anarres/cpp/MainTestCase.java
new file mode 100644
index 0000000..a42f3d2
--- /dev/null
+++ b/src/tests/org/anarres/cpp/MainTestCase.java
@@ -0,0 +1,15 @@
+package org.anarres.cpp;
+
+import java.io.*;
+
+import junit.framework.Test;
+
+import static org.anarres.cpp.Token.*;
+
+public class MainTestCase extends BaseTestCase {
+
+ public void testMain() throws Exception {
+ Main.main(new String[] { "-V" });
+ }
+
+}