]> granicus.if.org Git - clang/commitdiff
Added a test to check that exception flags are not passed by default on PS4.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 6 Feb 2015 13:02:39 +0000 (13:02 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 6 Feb 2015 13:02:39 +0000 (13:02 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228394 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/clang-exception-flags.cpp

index 8c27d9b16d2d034574cb1d4fa2173ab55349cae1..a5faed228e0545ec96adff94808868f234e2fd46 100644 (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"