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