Skip to content

Commit a3aff28

Browse files
add swift-symbolgraph-extract command and checks to the test
1 parent 482dc69 commit a3aff28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/SymbolGraph/ClangImporter/ForeignExtensions.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
// RUN: %FileCheck %s --input-file %t/EmitWhileBuilding.symbols.json --check-prefix BASE
55
// RUN: %FileCheck %s --input-file %t/[email protected] --check-prefix EXTENSION
66

7+
// RUN: %target-swift-symbolgraph-extract -sdk %clang-importer-sdk -module-name EmitWhileBuilding -F %t -output-dir %t -pretty-print -v
8+
// RUN: %FileCheck %s --input-file %t/EmitWhileBuilding.symbols.json --check-prefix BASE
9+
// RUN: %FileCheck %s --input-file %t/[email protected] --check-prefix EXTENSION
10+
711
// REQUIRES: objc_interop
812

913
// ensure that the symbol `String.Foo.bar` does not appear in the base module's symbol graph

0 commit comments

Comments
 (0)