2012-02-01 06:47:07 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2012-02-01 06:47:07 +08:00
|
|
|
|
|
|
|
namespace test1 {
|
|
|
|
// Make sure this doesn't crash.
|
|
|
|
struct A { ~A(); };
|
|
|
|
void a() { goto *(A(), &&L); L: return; }
|
|
|
|
}
|