summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/Core/index-source.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/Core/index-source.m')
-rw-r--r--clang/test/Index/Core/index-source.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Index/Core/index-source.m b/clang/test/Index/Core/index-source.m
index d70974ca034..6248f18bfb5 100644
--- a/clang/test/Index/Core/index-source.m
+++ b/clang/test/Index/Core/index-source.m
@@ -65,3 +65,8 @@ enum {
// CHECK-NEXT: RelChild | <no-name> | c:@Ea@One
Two,
};
+
+// CHECK: [[@LINE+1]]:13 | typedef/C | jmp_buf | c:index-source.m@T@jmp_buf | <no-cgname> | Def | rel: 0
+typedef int jmp_buf[(18)];
+// CHECK: [[@LINE+1]]:19 | typedef/C | jmp_buf | c:index-source.m@T@jmp_buf | <no-cgname> | Ref | rel: 0
+extern int setjmp(jmp_buf);
OpenPOWER on IntegriCloud