blob: 1b357ad9d7b1e1dfbabd4fa3786a60386f97fb28 [file] [log] [blame]
// PR c++/20552
// Origin: Ivan Godard <igodard@pacbell.net>
template<int> struct A
{
void foo()
{
typedef int T; // { dg-error "previous" }
typedef __typeof__(*this) T; // { dg-error "conflicting" }
}
};