annotate clang/test/CodeCompletion/macros-in-modules.m @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t && mkdir %t
anatofuz
parents:
diff changeset
2 // RUN: echo 'module Foo { header "foo.h" }' > %t/module.modulemap
anatofuz
parents:
diff changeset
3 // RUN: echo '#define FOO_MACRO 42' > %t/foo.h
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
4 // RUN: c-index-test -code-completion-at=%s:%(line+4):1 -I %t -fmodules-cache-path=%t -fmodules %s | FileCheck %s
150
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 @import Foo;
anatofuz
parents:
diff changeset
7 int x =
anatofuz
parents:
diff changeset
8 /*here*/1;
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 // CHECK: FOO_MACRO