]> granicus.if.org Git - clang/commitdiff
Merging r302818:
authorTom Stellard <tstellar@redhat.com>
Tue, 16 May 2017 13:33:50 +0000 (13:33 +0000)
committerTom Stellard <tstellar@redhat.com>
Tue, 16 May 2017 13:33:50 +0000 (13:33 +0000)
------------------------------------------------------------------------
r302818 | rsmith | 2017-05-11 15:17:54 -0400 (Thu, 11 May 2017) | 2 lines

Work around different -std= default for PS4 target.

------------------------------------------------------------------------

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

test/CodeGenCXX/array-default-argument.cpp

index 8376b4f340c59aa885d485b0ab937028bf2b583e..a07e3908392a488f2ce456ef938149516e1dc916 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm -o - %s -triple %itanium_abi_triple | FileCheck %s
-// RUN: %clang_cc1 -emit-llvm -o - %s -triple %itanium_abi_triple -fexceptions -fcxx-exceptions | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-EH
+// RUN: %clang_cc1 -emit-llvm -o - %s -triple %itanium_abi_triple -std=c++98 -fexceptions -fcxx-exceptions | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-EH
 
 struct A {
   A();