1 // RUN: %clang_cc1 -triple i586-pc-haiku -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -triple i686-pc-linux -fsyntax-only -verify %s
3
4 // expected-no-diagnostics
5
6 #ifdef __HAIKU__
7 typedef signed long pid_t;
8 #else
9 typedef signed int pid_t;
10 #endif
11 pid_t vfork(void);