Sign in
ara-mdk
/
platform
/
external
/
clang
/
70e82dc7a254054f0de491493489da162e63c364
/
.
/
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
;
}
}