Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / clang-tools-extra / test / clang-include-fixer / merge.test
blob6e65e518be4cbdb6035e371f049dcd681eb48b77
1 # RUN: find-all-symbols -merge-dir=%S/Inputs/merge %t.merged
2 # RUN: sed '/^#/d' %s > %t.golden
3 # RUN: diff --strip-trailing-cr -u %t.golden %t.merged
4 ---
5 Name:            bar
6 Contexts:
7   - ContextType:     Namespace
8     ContextName:     a
9 FilePath:        '../include/bar.h'
10 Type:            Class
11 Seen:            1
12 Used:            1
13 ...
14 ---
15 Name:            bar
16 Contexts:
17   - ContextType:     Namespace
18     ContextName:     a
19 FilePath:        '../include/barbar.h'
20 Type:            Class
21 Seen:            1
22 Used:            0
23 ...
24 ---
25 Name:            foo
26 Contexts:
27   - ContextType:     Namespace
28     ContextName:     a
29 FilePath:        foo.h
30 Type:            Class
31 Seen:            2
32 Used:            2
33 ...