Initial packaging for Tizen
[profile/ivi/gobject-introspection.git] / tests / warn / invalid-constructor.h
1 #include "common.h"
2
3 /**
4  * test_constructor_invalid_return: (constructor)
5  *
6  */
7 int test_constructor_invalid_return();
8
9 // EXPECT:7: Warning: Test: test_constructor_invalid_return: Constructors must return an instance of their class
10
11 /**
12  * test_constructor_invalid_return_pointer: (constructor)
13  *
14  */
15 GClosure *test_constructor_invalid_return_pointer();
16
17 // EXPECT:15: Warning: Test: test_constructor_invalid_return_pointer: Constructors must belong to the same namespace as the class they belong to
18