| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | namespace test1 { |
| 5 | // Make sure this doesn't crash. |
| 6 | struct A { ~A(); }; |
| 7 | void a() { goto *(A(), &&L); L: return; } |
| 8 | } |
| 9 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | namespace test1 { |
| 5 | // Make sure this doesn't crash. |
| 6 | struct A { ~A(); }; |
| 7 | void a() { goto *(A(), &&L); L: return; } |
| 8 | } |
| 9 |