summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash6.C
blob: 0cc5c84faf7a3adac7fbd230c27feacd9ddcac9c (plain)
1
2
3
4
5
6
7
8
9
10
struct P {};
    
template <typename >
struct O 
{
    struct I;
};

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