// RUN: %clang_cc1 %s -emit-llvm-only
// CHECK that we don't crash.

int main(void){
	int x = 12;
	// Make sure we don't crash when constant folding the case 4
	// statement due to the case 5 statement contained in the do loop
	switch (4) {
		case 4: do { case 5: x++;} while (x < 100);
	}
	return x;
}

Patch for r148243 which was left behind.
Patch for r148243 which was left behind.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@148244 91177308-0d34-0410-b5e6-96231b3b80d8
