Files
llvm-project/clang-tools-extra/test/include-fixer/merge.test
Reid Kleckner 23c2eac34d Remove most instances of REQUIRES: shell from the tools/extra tests
None of these tests actually require bash, they just have quoting bugs
when paths contain backslashes and colons. Fix them with the "%/T" lit
substitution variants.

llvm-svn: 278815
2016-08-16 16:07:46 +00:00

34 lines
710 B
Plaintext

# RUN: find-all-symbols -merge-dir=%S/Inputs/merge %t.merged
# RUN: sed '/^#/d' %s > %t.golden
# RUN: diff -u %t.golden %t.merged
---
Name: bar
Contexts:
- ContextType: Namespace
ContextName: a
FilePath: ../include/bar.h
LineNumber: 1
Type: Class
NumOccurrences: 1
...
---
Name: bar
Contexts:
- ContextType: Namespace
ContextName: a
FilePath: ../include/barbar.h
LineNumber: 1
Type: Class
NumOccurrences: 1
...
---
Name: foo
Contexts:
- ContextType: Namespace
ContextName: a
FilePath: foo.h
LineNumber: 1
Type: Class
NumOccurrences: 2
...