clang/test/Modules/diff-retain-comments-from-system-headers-flag.cppm
raw| 1 | // RUN: rm -rf %t |
| 2 | // RUN: mkdir %t |
| 3 | // RUN: split-file %s %t |
| 4 | // |
| 5 | // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-module-interface -o %t/a.pcm -fretain-comments-from-system-headers |
| 6 | // RUN: %clang_cc1 -std=c++20 %t/b.cpp -fmodule-file=a=%t/a.pcm -verify -fsyntax-only |
| 7 | |
| 8 | //--- a.cppm |
| 9 | export module a; |
| 10 | |
| 11 | //--- b.cpp |
| 12 | // expected-no-diagnostics |
| 13 | import a; |