Merge pull request #5714 from alexischr/update_bockbuild
[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 (void)
17 {
18         HandleStack *h = mono_handle_stack_alloc ();
19         mono_handle_stack_free (h);
20 }
21
22 int
23 main (int argc, const char* argv[])
24 {
25         test2_arena_push_pop ();
26
27         return 0;
28 }