Sign in
cobalt
/
cobalt
/
11295760be490ee3fe93b612c49343055ab2c485
/
.
/
src
/
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
;
}
}