[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / pid_t.c
blob7021e37a740fc716122a6d307cd12b422ce293ac
1 // RUN: %clang_cc1 -triple i586-pc-haiku -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -triple i686-pc-linux -fsyntax-only -verify %s
4 // expected-no-diagnostics
6 #ifdef __HAIKU__
7 typedef signed long pid_t;
8 #else
9 typedef signed int pid_t;
10 #endif
11 pid_t vfork(void);