[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / SemaCXX / indirect-goto.cpp
blobcb2213d78dd7f2593b4d5fc91beb256f3fc3ac8f
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 namespace test1 {
5 // Make sure this doesn't crash.
6 struct A { ~A(); };
7 void a() { goto *(A(), &&L); L: return; }