clang/test/Modules/odr_using_dependent_name.cppm
raw| 1 | // RUN: rm -rf %t |
| 2 | // RUN: mkdir -p %t |
| 3 | // RUN: %clang_cc1 -std=c++20 %S/Inputs/odr_using_dependent_name/X.cppm -emit-module-interface -o %t/X.pcm |
| 4 | // RUN: %clang_cc1 -std=c++20 -I%S/Inputs/odr_using_dependent_name -fprebuilt-module-path=%t %s -fsyntax-only -verify |
| 5 | // expected-no-diagnostics |
| 6 | module; |
| 7 | #include "foo.h" |
| 8 | export module Y; |
| 9 | import X; |