repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
PR25848.cpp
blob
a22ac6650a064acd3e97568353a66a19909d2148
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
struct
A
;
4
5
inline
int
g
();
// expected-warning{{inline function 'g' is not defined}}
6
7
template
<
int
M
>
8
struct
R
{
9
friend
int
g
() {
10
return
M
;
11
}
12
};
13
14
void
m
() {
15
g
();
// expected-note{{used here}}
16
}