From: Paolo Carlini Date: Sat, 14 Oct 2017 20:35:36 +0000 (+0000) Subject: re PR c++/80908 ([c++1z] ICE on instantiating a template deducing the noexcept-ness... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c97b789cb88ceb5b3fc2aa94506978e74503d895;p=gcc.git re PR c++/80908 ([c++1z] ICE on instantiating a template deducing the noexcept-ness of a function pointer) 2017-10-14 Paolo Carlini PR c++/80908 * g++.dg/cpp1z/noexcept-type18.C: New. From-SVN: r253763 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80dede23db7..c5bbf3e6022 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-14 Paolo Carlini + + PR c++/80908 + * g++.dg/cpp1z/noexcept-type18.C: New. + 2017-10-14 Paolo Carlini PR c++/81016 diff --git a/gcc/testsuite/g++.dg/cpp1z/noexcept-type18.C b/gcc/testsuite/g++.dg/cpp1z/noexcept-type18.C new file mode 100644 index 00000000000..e01fd0a2030 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1z/noexcept-type18.C @@ -0,0 +1,15 @@ +// { dg-options "-std=c++17" } + +template +struct S; + +template +struct S { + S() {} +}; + +void f() {} + +int main() { + S {}; +}