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   pthread_create(pthread_t *restrict, const pthread_attr_t *restrict,
11   void *(*)(void *), void *restrict);
12   */
13
14#include <pthread.h>
15
16void *thread_function(void *arg)
17{
18	return NULL;
19}
20
21void dummy_func()
22{
23	pthread_t a_thread;
24
25	pthread_create(&a_thread, NULL, thread_function, NULL);
26
27	return;
28}
29