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