blob: 614538527a73068d07083c2a28288a683c374f66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PR c++/20552
// Origin: Ivan Godard <igodard@pacbell.net>
template<int> struct A
{
void foo()
{
typedef int T; // { dg-message "previous" }
typedef __typeof__(*this) T; // { dg-error "conflicting" }
}
};
|