Skip to content

Commit 6520631

Browse files
committed
Adding a test to check number of scanning module variants.
1 parent 250d52d commit 6520631

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/test/ClangScanDeps/optimize-canonicalize-macros.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// RUN: -j 1 -format experimental-full -optimize-args=canonicalize-macros > %t/deps.db
99
// RUN: cat %t/deps.db | FileCheck %s -DPREFIX=%/t
1010

11+
// This tests that we have two scanning module variants.
12+
// RUN: find %t/module-cache -name "*.pcm" | wc -l | grep 2
13+
1114
// Verify that there are only two variants and that the expected merges have
1215
// happened.
1316

0 commit comments

Comments
 (0)