Here is a reduced version. void glibc_function() throw() {}
template <class T> struct Test { Test() {} // expected-error {{mangled name for 'Test<T>::Test()' will change in C++17}} ~Test() {} // expected-error {{mangled name for 'Test<T>::~Test()' will change in C++17}} }; Test<decltype(&glibc_function)> t; /Eric On Mon, Apr 3, 2017 at 5:17 PM, Eric Fiselier <e...@efcs.ca> wrote: > I'll create a reduced reproducer, but it'll take some time because GCC is > quite cryptic about the instantiation stack. > > if you want many instances within the libc++ build simply revert this > commit and build with a new GCC. > > /Eric >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits