summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/mangle-alias-template.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-01-09 02:22:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-01-09 02:22:22 +0000
commit4e8e2e809406fa7e1b4f6d04d16b85f0f0952374 (patch)
treee35a3d219439d9e9020294c8f83415641ea9e4fa /test/CodeGenCXX/mangle-alias-template.cpp
parentcdb7256298771af460cb02d4200561ffdfaa1df0 (diff)
PR18401: Fix assert by implementing the current proposed direction of core
issue 1430. Don't allow a pack expansion to be used as an argument to an alias template unless the corresponding parameter is a parameter pack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-alias-template.cpp')
-rw-r--r--test/CodeGenCXX/mangle-alias-template.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/CodeGenCXX/mangle-alias-template.cpp b/test/CodeGenCXX/mangle-alias-template.cpp
index b6719c5452..1dbb3eb67a 100644
--- a/test/CodeGenCXX/mangle-alias-template.cpp
+++ b/test/CodeGenCXX/mangle-alias-template.cpp
@@ -11,10 +11,6 @@ template<typename T> void g(T);
template<template<typename> class F> void h(F<int>);
-template<typename,typename,typename> struct S {};
-template<typename T, typename U> using U = S<T, int, U>;
-template<typename...Ts> void h(U<Ts...>, Ts...);
-
// CHECK-LABEL: define void @_Z1zv(
void z() {
vector<int> VI;
@@ -42,7 +38,4 @@ void z() {
Vec<Vec<int>> VVI;
g(VVI);
// CHECK: call void @_Z1gI6vectorIS0_Ii5allocIiEES1_IS3_EEEvT_(
-
- // CHECK: call void @_Z1hIJidEEv1UIDpT_ES2_
- h({}, 0, 0.0);
}