Eli Friedman | d29975f | 2012-01-31 22:47:07 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Eli Friedman | d29975f | 2012-01-31 22:47:07 +0000 | [diff] [blame] | 3 | |
4 | namespace test1 { | ||||
5 | // Make sure this doesn't crash. | ||||
6 | struct A { ~A(); }; | ||||
7 | void a() { goto *(A(), &&L); L: return; } | ||||
8 | } |