2 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -x c++ -std=c++20 -emit-module-interface a.h -o a.pcm -fms-extensions -verify
6 // RUN: %clang_cc1 -std=c++20 a.cpp -fmodule-file=A=a.pcm -fms-extensions -fsyntax-only -verify
10 // expected-no-diagnostics
14 export
template <typename T
>
21 // expected-warning@a.h:8 {{initializing an array from a '__func__' predefined identifier is a Microsoft extension}}
26 f
<int>(); // expected-note {{in instantiation of function template specialization 'f<int>' requested here}}