Skip to content

Commit d5c0f2d

Browse files
authored
[modules][test] Use -fmodules-cache-path= in test (#160179)
Otherwise test may fail on some systems. Fixes tests after #159771
1 parent a004509 commit d5c0f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Modules/named-module-with-fmodules.cppm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// RUN: split-file %s %t
88

99
// RUN: %clang -std=c++23 -fmodules -fmodule-map-file=%t/module.modulemap \
10-
// RUN: --precompile %t/A.cppm -o %t/A.pcm
10+
// RUN: -fmodules-cache-path=%t --precompile %t/A.cppm -o %t/A.pcm
1111

1212
//--- module.modulemap
1313
module foo { header "foo.h" }

0 commit comments

Comments
 (0)