From 60fc1dd532e06b5b0c37caff308d33daed1b58e5 Mon Sep 17 00:00:00 2001 From: Douglas Yung Date: Thu, 9 Feb 2017 00:07:38 +0000 Subject: Add check that "#define unix 1" is present for the PS4 target. llvm-svn: 294534 --- clang/test/Preprocessor/init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/Preprocessor/init.c') 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 -- cgit v1.2.3