// RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s
// Radar 9199234

int bar();
int foo(int i) {
	int j = 0;
	if (i) {
		j = bar();
//CHECK: store i32
//CHECK-NOT:  br label %{{%[a-zA-Z0-9\.]+}}, !dbg 
	} 
	else
	{
		j = bar() + 2;
	}
	return j;
}

// RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s
// Radar 9199234

int bar();
int foo(int i) {
	int j = 0;
	if (i) {
		j = bar();
	} 
	else
	{
//CHECK: store i32 %add
//CHECK-NOT:  br label %{{[a-zA-Z0-9\.]+}}, !dbg 
		j = bar() + 2;
	}
	return j;
}

Fix regexp for this test to properly check.
Fix regexp for this test to properly check.

Patch by Eli Bendersky.

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