You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
304 B
11 lines
304 B
4 months ago
|
// RUN: rm -rf %t && mkdir %t
|
||
|
// RUN: echo 'module Foo { header "foo.h" }' > %t/module.modulemap
|
||
|
// RUN: echo '#define FOO_MACRO 42' > %t/foo.h
|
||
|
// RUN: c-index-test -code-completion-at=%s:8:1 -I %t -fmodules-cache-path=%t -fmodules %s | FileCheck %s
|
||
|
|
||
|
@import Foo;
|
||
|
int x =
|
||
|
/*here*/1;
|
||
|
|
||
|
// CHECK: FOO_MACRO
|