Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
crash8.C
blob: 7dce9cb7237630a1511332e0bc632a6b6259a34e [
file
] [
log
] [
blame
]
// PR c++/58843
struct
A
{};
template
<
typename
T
>
void
foo
(
T t
)
{
t
.
T
::~
X
();
// { dg-error "no type" }
}
void
bar
()
{
foo
(
A
());
}