1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 typedef void (*thread_continue_t
)();
6 extern void kernel_thread_start(thread_continue_t continuation
);
7 extern void pure_c(void);
10 class _IOConfigThread
{
12 static void main( void );
17 kernel_thread_start(&_IOConfigThread::main
);
18 kernel_thread_start((thread_continue_t
)&_IOConfigThread::main
);
19 kernel_thread_start(&pure_c
);