Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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 "" }
}