summaryrefslogtreecommitdiff
path: root/tests/warn/return-gobject.h
blob: 5e621c3a5c970176a6eb6e4f7d415d2f6e98d898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "common.h"

GObject * test_get_object(void);

// EXPECT:3: Warning: Test: test_get_object: return value: Missing (transfer) annotation

/**
 * test_get_object2:
 *
 */
GObject * test_get_object2(void);

// EXPECT:7: Warning: Test: test_get_object2: return value: Missing (transfer) annotation