File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
// RUN: split-file %s %t
4
4
//
5
5
// Testing the behavior of `-fskip-odr-check-in-gmf`
6
- // RUN: %clang_cc1 -std=c++20 -DDIFFERENT -fskip-odr-check-in-gmf %t/A.cppm -emit-module-interface -o %t/A.pcm
7
- // RUN: %clang_cc1 -std=c++20 -fskip-odr-check-in-gmf -x c++-header %t/foo.h -emit-pch -o %t/foo.pch
8
- // RUN: %clang_cc1 -std=c++20 -fskip-odr-check-in-gmf -include-pch %t/foo.pch %t/B.cppm -emit-module-interface -o %t/B.pcm
6
+ // RUN: %clang_cc1 -std=c++20 -DDIFFERENT -fskip-odr-check-in-gmf %t/A.cppm -emit-module-interface -o %t/A.pcm -fmodule-related-to-pch
7
+ // RUN: %clang_cc1 -std=c++20 -fskip-odr-check-in-gmf -x c++-header %t/foo.h -emit-pch -o %t/foo.pch -fmodule-related-to-pch
8
+ // RUN: %clang_cc1 -std=c++20 -fskip-odr-check-in-gmf -include-pch %t/foo.pch %t/B.cppm -emit-module-interface -o %t/B.pcm -fmodule-related-to-pch
9
9
// RUN: %clang_cc1 -std=c++20 -fskip-odr-check-in-gmf -fprebuilt-module-path=%t \
10
- // RUN: %t/C.cpp -verify -fsyntax-only
10
+ // RUN: %t/C.cpp -verify -fsyntax-only -fmodule-related-to-pch
11
11
12
12
// --- foo.h
13
13
#ifndef FOO_H
You can’t perform that action at this time.
0 commit comments