r294534 - Add check that "#define unix 1" is present for the PS4 target.

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 8 16:07:38 PST 2017


Author: dyung
Date: Wed Feb  8 18:07:38 2017
New Revision: 294534

URL: http://llvm.org/viewvc/llvm-project?rev=294534&view=rev
Log:
Add check that "#define unix 1" is present for the PS4 target.


Modified:
    cfe/trunk/test/Preprocessor/init.c

Modified: cfe/trunk/test/Preprocessor/init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/init.c?rev=294534&r1=294533&r2=294534&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/init.c (original)
+++ cfe/trunk/test/Preprocessor/init.c Wed Feb  8 18:07:38 2017
@@ -8466,6 +8466,7 @@
 // PS4:#define __unix__ 1
 // PS4:#define __x86_64 1
 // PS4:#define __x86_64__ 1
+// PS4:#define unix 1
 //
 // RUN: %clang_cc1 -E -dM -triple=x86_64-pc-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix X86-64-DECLSPEC %s
 // RUN: %clang_cc1 -E -dM -fms-extensions -triple=x86_64-unknown-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix X86-64-DECLSPEC %s




More information about the cfe-commits mailing list