Merge pull request #4904 from kumpera/more_opts
[mono.git] / mono / unit-tests / test-mono-handle.c
1 /*
2  * test-mono-handle: tests for MonoHandle and MonoHandleArena
3  *
4  * Authors:
5  *   Aleksey Kliger <aleksey@xamarin.com>
6  *
7  * Copyright 2015 Xamarin, Inc. (www.xamarin.com)
8  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9  */
10
11 #include <config.h>
12 #include <glib.h>
13 #include <mono/metadata/handle.h>
14
15 static void
16 test2_arena_push_pop ()
17 {
18         HandleStack *h = mono_handle_stack_alloc ();
19         mono_handle_stack_free (h);
20 }
21
22
23
24 int
25 main (int argc, const char* argv[])
26 {
27         test2_arena_push_pop ();
28
29         return 0;
30 }