<div dir="ltr"><div>This patch instantiates the pending local instantiations earlier in order to enable to following code to compile:<br></div><div><pre style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">  template <typename T>
  void F() {
    struct Num {
      static constexpr int Get() { return 42; }
    };
    constexpr int n = Num::Get();
  }

  int main() {
    F<int>();
  }</pre>This addresses PR20625.</div></div>