1f4a2713aSLionel Sambuc enum Color { 2f4a2713aSLionel Sambuc Red, 3f4a2713aSLionel Sambuc Green, 4f4a2713aSLionel Sambuc Blue, 5f4a2713aSLionel Sambuc 6f4a2713aSLionel Sambuc Rouge = Red 7f4a2713aSLionel Sambuc }; 8f4a2713aSLionel Sambuc 9*0a6a1f1dSLionel Sambuc void PR17970(void (*)(int), float); 10*0a6a1f1dSLionel Sambuc 11f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-source all %s | FileCheck %s 12f4a2713aSLionel Sambuc // CHECK: load-decls.c:1:6: EnumDecl=Color:1:6 (Definition) Extent=[1:1 - 7:2] 13f4a2713aSLionel Sambuc // CHECK: load-decls.c:2:3: EnumConstantDecl=Red:2:3 (Definition) Extent=[2:3 - 2:6] 14f4a2713aSLionel Sambuc // CHECK: load-decls.c:3:3: EnumConstantDecl=Green:3:3 (Definition) Extent=[3:3 - 3:8] 15f4a2713aSLionel Sambuc // CHECK: load-decls.c:4:3: EnumConstantDecl=Blue:4:3 (Definition) Extent=[4:3 - 4:7] 16f4a2713aSLionel Sambuc // CHECK: load-decls.c:6:3: EnumConstantDecl=Rouge:6:3 (Definition) Extent=[6:3 - 6:14] 17f4a2713aSLionel Sambuc // CHECK: load-decls.c:6:11: DeclRefExpr=Red:2:3 Extent=[6:11 - 6:14] 18*0a6a1f1dSLionel Sambuc // 19*0a6a1f1dSLionel Sambuc // CHECK: load-decls.c:9:6: FunctionDecl=PR17970:9:6 Extent=[9:1 - 9:35] 20*0a6a1f1dSLionel Sambuc // CHECK: load-decls.c:9:21: ParmDecl=:9:21 (Definition) Extent=[9:14 - 9:27] 21*0a6a1f1dSLionel Sambuc // CHECK: load-decls.c:9:26: ParmDecl=:9:26 (Definition) Extent=[9:23 - 9:26] 22*0a6a1f1dSLionel Sambuc // CHECK: load-decls.c:9:34: ParmDecl=:9:34 (Definition) Extent=[9:29 - 9:34] 23