Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash23.C
blob: 19ad70a64547f9de9e54d499de1d1619bc813f50 [
file
] [
log
] [
blame
]
// PR c++/19733
struct
A
{};
typedef
int
I
;
void
foo
()
{
A
().~
A
;
// { dg-error "" }
A
().
A
::~
A
;
// { dg-error "" }
(
int
().
I
::~
I
,
3
);
// { dg-error "" }
int
().
I
::~
I
;
// { dg-error "" }
}