llvm-project/clang/test/Sema/pid_t.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
263 B
C
Raw Normal View History

2012-11-27 10:58:49 +08:00
// RUN: %clang_cc1 -triple i586-pc-haiku -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple i686-pc-linux -fsyntax-only -verify %s
// expected-no-diagnostics
#ifdef __HAIKU__
typedef signed long pid_t;
#else
typedef signed int pid_t;
#endif
pid_t vfork(void);