Sign in
cobalt
/
cobalt
/
6f9a742d28df516936362c4ae00efbea9c3b06f2
/
.
/
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
;
}
}