summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorDouglas Yung <douglas.yung@sony.com>2017-02-09 00:07:38 +0000
committerDouglas Yung <douglas.yung@sony.com>2017-02-09 00:07:38 +0000
commit60fc1dd532e06b5b0c37caff308d33daed1b58e5 (patch)
treee4c0802845ac06f6cecf8f3d5a979ca41fbe416e /clang/test/Preprocessor/init.c
parenta7d3296957fab0bae62e4150b455c2eb85eb9a88 (diff)
downloadbcm5719-llvm-60fc1dd532e06b5b0c37caff308d33daed1b58e5.tar.gz
bcm5719-llvm-60fc1dd532e06b5b0c37caff308d33daed1b58e5.zip
Add check that "#define unix 1" is present for the PS4 target.
llvm-svn: 294534
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index 1d3e9fbae1c..6ab86de2ff6 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/test/Preprocessor/init.c
@@ -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
OpenPOWER on IntegriCloud