(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
parse/
crash6.C
struct P {};
    
template <typename >
struct O 
{
    struct I;
};

template <typename T>
struct O<T>::I::S : P {}; // { dg-error "" }