☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof10.C
☽
☼
gcc/testsuite/g++.dg/ext/typeof10.C
code
plain
raw
1
// PR c++/20552
2
// Origin: Ivan Godard <
[email protected]
>
3
4
template<int> struct A
5
{
6
void foo()
7
{
8
typedef int T; // { dg-message "previous" }
9
typedef __typeof__(*this) T; // { dg-error "conflicting" }
10
}
11
};