--- /dev/null
+#include <stdio.h>
+#include <stdlib.h>
+#include <m17n.h>
+
+int
+main (int argc, char **argv)
+{
+ MInputMethod *im;
+ MInputContext *ic;
+
+ M17N_INIT ();
+ im = minput_open_im (Mt, msymbol ("test"), NULL);
+ if (im)
+ {
+ ic = minput_create_ic (im, NULL);
+ if (ic)
+ {
+ minput_filter (ic, msymbol ("\x80"), NULL);
+ minput_filter (ic, msymbol ("\x81"), NULL);
+ minput_destroy_ic (ic);
+ }
+ minput_close_im (im);
+ }
+ exit (0);
+}