1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Note: the run lines follow their respective tests, since line/column // matter in this test. enum { Red = 17, Green, Blue }; void f() { } // RUN: c-index-test -code-completion-at=%s:11:1 %s | FileCheck -check-prefix=CHECK-CC1 %s // CHECK-CC1: EnumConstantDecl:{ResultType enum <anonymous>}{TypedText Red}