1// RUN: c-index-test -test-load-source local %s 2>&1 | FileCheck %s
2
3// <rdar://problem/9123493>
4void test() {                              
5  goto exit;
6}
7
8int foo;
9
10#define NO 0
11
12void f(int y) {
13  if (y = NO);
14}
15
16int
17
18// CHECK: cindex-on-invalid.m:5:8: error: use of undeclared label 'exit'
19// CHECK: cindex-on-invalid.m:13:9:{13:7-13:13}
20// CHECK: cindex-on-invalid.m:21:1: error: expected identifier or '('
21
22