PR c++/79143
commit48840b6b58d1e81994a462bf6beb773993c2154e
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2017 22:12:15 +0000 (9 22:12 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2017 22:12:15 +0000 (9 22:12 +0000)
treed8b6501e5322eabecd24d70abffc6bbe501232e6
parentf31d89ff2d078fbcbddc61478ccbe65ad67db577
PR c++/79143
* pt.c (instantiate_class_template_1): Copy CLASSTYPE_NON_AGGREGATE
from pattern to type.

* g++.dg/cpp1z/pr79143.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245315 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/pr79143.C [new file with mode: 0644]