Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof10.C
blob: 614538527a73068d07083c2a28288a683c374f66 [
file
] [
log
] [
blame
]
// 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" }
}
};