summaryrefslogtreecommitdiffstats
path: root/test/Index/complete-macros.c
blob: c33d8c02e13b881900f3c3e7c888ef23070806bd (plain)
1
2
3
4
5
6
7
8
9
10
11
// Note: the run lines follow their respective tests, since line/column
// matter in this test.

#define FOO(Arg1,Arg2) foobar

void f() {

}

// RUN: c-index-test -code-completion-at=%s:7:1 %s | FileCheck -check-prefix=CHECK-CC1 %s
// CHECK-CC1: macro definition:{TypedText FOO}{LeftParen (}{Placeholder Arg1}{Comma , }{Placeholder Arg2}{RightParen )}
OpenPOWER on IntegriCloud