summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/indirect-goto.cpp
blob: 5b3fac4a658f013f7d764959796075f369779790 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -verify %s

namespace test1 {
  // Make sure this doesn't crash.
  struct A { ~A(); };
  void a() { goto *(A(), &&L); L: return; }
}