summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle-fail.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-08-23 22:12:08 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-08-23 22:12:08 +0000
commit39eca9b95ab73f3ad442e4980ea0b12df3c134b8 (patch)
treea3a5a9f108a980b5829119b72303cdf02a0f3e07 /clang/test/CodeGenCXX/mangle-fail.cpp
parent4bafa167481d6eec6535bbc5230535f9973d39e7 (diff)
downloadbcm5719-llvm-39eca9b95ab73f3ad442e4980ea0b12df3c134b8.tar.gz
bcm5719-llvm-39eca9b95ab73f3ad442e4980ea0b12df3c134b8.zip
Fix mangling for dependent "type { expr-list }" expressions, and add mangling for designated initializers matching recent cxx-abi-dev discussion.
llvm-svn: 311612
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-fail.cpp')
-rw-r--r--clang/test/CodeGenCXX/mangle-fail.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/mangle-fail.cpp b/clang/test/CodeGenCXX/mangle-fail.cpp
index 02548964efc..b588d57749f 100644
--- a/clang/test/CodeGenCXX/mangle-fail.cpp
+++ b/clang/test/CodeGenCXX/mangle-fail.cpp
@@ -1,6 +1,5 @@
// RUN: %clang_cc1 -emit-llvm-only -x c++ -std=c++11 -triple %itanium_abi_triple -verify %s -DN=1
// RUN: %clang_cc1 -emit-llvm-only -x c++ -std=c++11 -triple %itanium_abi_triple -verify %s -DN=2
-// RUN: %clang_cc1 -emit-llvm-only -x c++ -std=c++11 -triple %itanium_abi_triple -verify %s -DN=3
struct A { int a; };
@@ -14,11 +13,6 @@ template void test<int>(int (&)[sizeof(int)]);
template<class T> void test(int (&)[sizeof((A){}, T())]) {} // expected-error {{cannot yet mangle}}
template void test<int>(int (&)[sizeof(A)]);
-#elif N == 3
-// DesignatedInitExpr
-template<class T> void test(int (&)[sizeof(A{.a = 10}, T())]) {} // expected-error {{cannot yet mangle}}
-template void test<int>(int (&)[sizeof(A)]);
-
// FIXME: There are several more cases we can't yet mangle.
#else
OpenPOWER on IntegriCloud