r302818 - Work around different -std= default for PS4 target.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu May 11 12:17:55 PDT 2017


Author: rsmith
Date: Thu May 11 14:17:54 2017
New Revision: 302818

URL: http://llvm.org/viewvc/llvm-project?rev=302818&view=rev
Log:
Work around different -std= default for PS4 target.

Modified:
    cfe/trunk/test/CodeGenCXX/array-default-argument.cpp

Modified: cfe/trunk/test/CodeGenCXX/array-default-argument.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/array-default-argument.cpp?rev=302818&r1=302817&r2=302818&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/array-default-argument.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/array-default-argument.cpp Thu May 11 14:17:54 2017
@@ -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();




More information about the cfe-commits mailing list