From 74df05471ecca697e0da9c4d788339a6697740fa Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 11 May 2017 21:18:27 +0000 Subject: [PATCH] XFAIL this test for Hexagon. It's failing due to Hexagon calling convention lowering being broken (empty structs are not passed even if they have nontrivial destructors / copy ctors). llvm-svn: 302825 --- clang/test/CodeGenCXX/array-default-argument.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang/test/CodeGenCXX/array-default-argument.cpp b/clang/test/CodeGenCXX/array-default-argument.cpp index a07e3908..a215c8f 100644 --- a/clang/test/CodeGenCXX/array-default-argument.cpp +++ b/clang/test/CodeGenCXX/array-default-argument.cpp @@ -1,6 +1,10 @@ // RUN: %clang_cc1 -emit-llvm -o - %s -triple %itanium_abi_triple | FileCheck %s // 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 +// Hexagon calling convention lowering is horribly broken and fails to pass A +// object to B constructor at all! +// XFAIL: hexagon + struct A { A(); ~A(); -- 2.7.4