dashboard
repositories
activity
search
login
lzh
/
A133
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Revert "feat(fix): fixed the problem of reboot stuck"
huangcm
2025-07-01
2af87f2bbd5ba07d377b5a7f0ee0e96053f2d424
[~lzh/A133.git]
/
android
/
external
/
clang
/
test
/
CodeCompletion
/
macros-in-modules.m
1
2
3
4
5
6
7
8
9
10
// 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