Added a test to check that exception flags are not passed by default on PS4.

This patch adds an extra test case to clang-exception-flags.cpp.
No functional change intended.

Patch by Wolfgang Pieb!

Reviewers: filcab, alexr

Differential Revision: http://reviews.llvm.org/D7298

llvm-svn: 228394
This commit is contained in:
Andrea Di Biagio 2015-02-06 13:02:39 +00:00
parent b792be8e79
commit b4f5d5cb35
1 changed files with 3 additions and 0 deletions

View File

@ -23,3 +23,6 @@
//
// RUN: %clang -### -fexceptions -fno-cxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF4
// OFF4-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
//
// RUN: %clang -### -target x86_64-scei-ps4 %s 2>&1 | FileCheck %s -check-prefix=PS4-OFF
// PS4-OFF-NOT: "-cc1" {{.*}} "-f{{(cxx-)?}}exceptions"