summaryrefslogtreecommitdiff
path: root/tests/warn/callback-missing-scope.h
blob: 7932198ec4b90af0f4902e3227b469c1809f9802 (plain)
1
2
3
4
5
#include "common.h"

void test_callback(GCallback *callback, gpointer user_data);

// EXPECT:3: Warning: Test: test_callback: argument callback: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async)