summaryrefslogtreecommitdiff
path: root/tests/use-as-subproject/use-testlib.c
blob: 9a955b474092c45ef120726c1e3109c81ec815d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright 2022 Collabora Ltd.
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */

#include <libglnx.h>
#include <libglnx-testlib.h>

int
main (void)
{
  _GLNX_TEST_DECLARE_ERROR (local_error, error);

  glnx_throw (error, "Whatever");
  g_clear_error (&local_error);
  return 0;
}