summaryrefslogtreecommitdiff
path: root/test/regression/filter-segv.c
blob: 59960e90badb6bd2eeef8f05c28ec8161fe32b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <stdio.h>
#include <stdlib.h>

#include <parserutils/parserutils.h>

#include "input/filter.h"

#include "testutils.h"

int main(int argc, char **argv)
{
	parserutils_filter *input;

	UNUSED(argc);
	UNUSED(argv);

	assert(parserutils__filter_create("UTF-8", &input) == PARSERUTILS_OK);

	parserutils__filter_destroy(input);

	printf("PASS\n");

	return 0;
}