summaryrefslogtreecommitdiff
path: root/tests/assertion-return.tail.c
blob: 0dff47ed85a15281281f89bee5ab4e678e9caab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	/* End of assertion_val_func(). */

	return NULL;
}

int
main (void)
{
	GObject *obj = g_malloc (5);

	/* Various NULL and non-NULL calls to the function. */
	assertion_val_func ("str", 0, obj);
	assertion_val_func (NULL, 1, obj);
	assertion_val_func ("str", 2, NULL);
	assertion_val_func (NULL, 3, NULL);

	g_free (obj);
}