]> granicus.if.org Git - clang/commitdiff
Add check that "#define unix 1" is present for the PS4 target.
authorDouglas Yung <douglas.yung@sony.com>
Thu, 9 Feb 2017 00:07:38 +0000 (00:07 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Thu, 9 Feb 2017 00:07:38 +0000 (00:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294534 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/init.c

index 1d3e9fbae1c250b0471aed4d7857660e9ec2e6c4..6ab86de2ff679684ec025f96d6bb6836dd5d7af8 100644 (file)
 // 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