summaryrefslogtreecommitdiff
path: root/tests/warn/return-gobject.h
blob: b6c63045359f4e1e380f9f327a0604e8ce95eb7c (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:8: Warning: Test: test_get_object2: return value: Missing (transfer) annotation