re PR c++/52706 ([C++11] Demangling of templates with std::nullptr_t as non-type...
[gcc.git] / gcc / cp / mangle.c
index 1536828a32cbfc3ff89a51bb373769ca2744c355..d00df1fe49aba13c1963ff918a60584f8b2b645f 100644 (file)
@@ -2023,6 +2023,8 @@ write_type (tree type)
 
            case NULLPTR_TYPE:
              write_string ("Dn");
+             if (abi_version_at_least (7))
+               ++is_builtin_type;
              break;
 
            case TYPEOF_TYPE: