Fix failing mangle-concept.cpp test.

llvm-svn: 374971
This commit is contained in:
Saar Raz 2019-10-16 02:56:40 +00:00
parent 7b49e8ac35
commit 1e3e77e0b6
1 changed files with 2 additions and 2 deletions

View File

@ -6,11 +6,11 @@ template <bool> struct S {};
template <typename> concept C = true;
template <typename T = int> S<C<T>> f0() { return S<C<T>>{}; }
template S<C<int>> f0<>();
// CHECK: void @_ZN5test12f0IiEENS_1SIXL_ZNS_1CIT_EEEEEEv()
// CHECK: void @_ZN5test12f0IiEENS_1SIXL_ZNS_1CIT_EEEEEEv(
}
template <bool> struct S {};
template <typename> concept C = true;
template <typename T = int> S<C<T>> f0() { return S<C<T>>{}; }
template S<C<int>> f0<>();
// CHECK: void @_Z2f0IiE1SIXL_Z1CIT_EEEEv()
// CHECK: void @_Z2f0IiE1SIXL_Z1CIT_EEEEv(