Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
indirect-goto.cpp
blob: cb2213d78dd7f2593b4d5fc91beb256f3fc3ac8f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
namespace
test1
{
// Make sure this doesn't crash.
struct
A
{
~
A
();
};
void
a
()
{
goto
*(
A
(),
&&
L
);
L
:
return
;
}
}