1  /*
2 * Copyright (c) 2002, Intel Corporation. All rights reserved.
3 * Created by:  rolla.n.selbak REMOVE-THIS AT intel DOT com
4 * This file is licensed under the GPL license.  For the full content
5 * of this license, see the COPYING file at the top level of this
6 * source tree.
7
8  Test this function is defined:
9
10  int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
11  */
12
13#include <pthread.h>
14
15
16pthread_attr_t a;
17int *detachstate;
18
19void dummy_func ()
20{
21
22	pthread_attr_getdetachstate(&a, detachstate);
23	return;
24}
25
26