[Clang] ensure mangled names are valid identifiers before being suggested in ifunc...
[llvm-project.git] / clang / test / Modules / odr_using_dependent_name.cppm
blob8816c444d86b0d806112e99dc7b220e36c066534
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;