summaryrefslogtreecommitdiff
path: root/fast/test_grammar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'fast/test_grammar.cc')
-rw-r--r--fast/test_grammar.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/fast/test_grammar.cc b/fast/test_grammar.cc
new file mode 100644
index 0000000..9c5b74e
--- /dev/null
+++ b/fast/test_grammar.cc
@@ -0,0 +1,15 @@
+#include <fstream>
+
+#include "grammar.hh"
+
+using namespace std;
+
+
+int
+main(int argc, char** argv)
+{
+ G::Grammar g(argv[1]);
+ cout << g << endl;
+ return 0;
+}
+