Fix template argument of nullptr_t type.
authorJason Merrill <jason@redhat.com>
Fri, 9 Jun 2017 20:18:06 +0000 (16:18 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 Jun 2017 20:18:06 +0000 (16:18 -0400)
commitc5d6c6d94e74dd2f72e323ff01ad2506115ffe05
treeeb4f539bbaaeb903a261942e36ebb7ee4064d34d
parent3d2e25a240c7115c3deaaa9dea856588300dd05b
Fix template argument of nullptr_t type.

* pt.c (convert_nontype_argument): Check NULLPTR_TYPE_P rather than
nullptr_node.

From-SVN: r249080
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/nullptr38.C [new file with mode: 0644]