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