Skip to content
Snippets Groups Projects
  • Jason Merrill's avatar
    71e13ea1
    c++: non-dep structured binding decltype again [PR117107] · 71e13ea1
    Jason Merrill authored
    The patch for PR92687 handled the usual case of a decomp variable not being
    in the table, but missed the case of there being nothing in the table yet.
    
    	PR c++/117107
    	PR c++/92687
    
    gcc/cp/ChangeLog:
    
    	* decl.cc (lookup_decomp_type): Handle null table.
    
    gcc/testsuite/ChangeLog:
    
    	* g++.dg/cpp2a/decomp10.C: New test.
    71e13ea1
    History
    c++: non-dep structured binding decltype again [PR117107]
    Jason Merrill authored
    The patch for PR92687 handled the usual case of a decomp variable not being
    in the table, but missed the case of there being nothing in the table yet.
    
    	PR c++/117107
    	PR c++/92687
    
    gcc/cp/ChangeLog:
    
    	* decl.cc (lookup_decomp_type): Handle null table.
    
    gcc/testsuite/ChangeLog:
    
    	* g++.dg/cpp2a/decomp10.C: New test.