From 39eca9b95ab73f3ad442e4980ea0b12df3c134b8 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 23 Aug 2017 22:12:08 +0000 Subject: Fix mangling for dependent "type { expr-list }" expressions, and add mangling for designated initializers matching recent cxx-abi-dev discussion. llvm-svn: 311612 --- clang/test/CodeGenCXX/mangle-fail.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'clang/test/CodeGenCXX/mangle-fail.cpp') 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 (&)[sizeof(int)]); template void test(int (&)[sizeof((A){}, T())]) {} // expected-error {{cannot yet mangle}} template void test(int (&)[sizeof(A)]); -#elif N == 3 -// DesignatedInitExpr -template void test(int (&)[sizeof(A{.a = 10}, T())]) {} // expected-error {{cannot yet mangle}} -template void test(int (&)[sizeof(A)]); - // FIXME: There are several more cases we can't yet mangle. #else -- cgit v1.2.3