blob: c2e52f66dce35c0d2b3dd9fdae9e6340685cf111 [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
Tanya Lattnerd13e0ae2004-11-06 22:29:57 +00002
Chris Lattnera1d1fce2004-03-16 05:14:47 +00003// Testcase from Bug 291
Chris Lattner91e49c42004-03-16 05:18:24 +00004
Chris Lattnera1d1fce2004-03-16 05:14:47 +00005struct X {
6 ~X();
7};
8
9void foo() {
10 X v;
Misha Brukmanfd939082005-04-21 23:48:37 +000011
12TryAgain:
Chris Lattnera1d1fce2004-03-16 05:14:47 +000013 goto TryAgain;
14}