From: Marek Polacek Date: Wed, 29 Jan 2020 20:12:46 +0000 (-0500) Subject: c++: Add new test [PR88092] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11ffae58473472766960b2f6c59108e331a9eba7;p=gcc.git c++: Add new test [PR88092] This test got fixed by r10-1976-gdaaa6fcc70ffe66bd56f5819ad4ee78fecd54bb6 so let's add it to the testsuite. PR c++/88092 * g++.dg/cpp2a/nontype-class31.C: New test. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b62e7effb59..a8d563b1205 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-01-29 Marek Polacek + + PR c++/88092 + * g++.dg/cpp2a/nontype-class31.C: New test. + 2020-01-29 Jeff Law +struct S { + constexpr S(...) { } +}; + +template S(T) -> S; + +template struct foo { }; + +template +void fn () +{ + auto t = s; + foo f1; + foo f2; +}