summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-11 21:18:27 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-11 21:18:27 +0000
commit45ddcc478c407ac5ffcf40036e502aabfab8773d (patch)
treeac524317f7cb275ced8d83938ef8ca1eb6f993d2 /test/CodeGenCXX
parentb5afea8bd49c9619f88790657b62de77b6dbd876 (diff)
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX')
-rw-r--r--test/CodeGenCXX/array-default-argument.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGenCXX/array-default-argument.cpp b/test/CodeGenCXX/array-default-argument.cpp
index a07e390839..a215c8f217 100644
--- a/test/CodeGenCXX/array-default-argument.cpp
+++ b/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();