summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/struct-2.C
blob: b63045bf9d6b83ba4e5302fe30d656a26ee8f5db (plain)
1
2
3
4
5
6
7
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// PR c++/18731

template<typename T> struct A
{
    struct T::B {}; // { dg-error "invalid class name" }
};