[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / SemaCXX / PR25848.cpp
bloba22ac6650a064acd3e97568353a66a19909d2148
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 struct A;
5 inline int g(); // expected-warning{{inline function 'g' is not defined}}
7 template<int M>
8 struct R {
9 friend int g() {
10 return M;
14 void m() {
15 g(); // expected-note{{used here}}