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
Add PR check to suggest alternatives to using undef (#118506)
[llvm-project.git]
/
clang
/
test
/
Modules
/
merge-function-defs.cpp
blob
2f08f523c3aaa3987ea3b73dbb65791a2d8054e2
1
// RUN: rm -rf %t
2
// RUN: %clang_cc1 -I%S/Inputs/merge-function-defs -fmodules -fmodule-map-file=%S/Inputs/merge-function-defs/map -fmodules-cache-path=%t %s -emit-llvm-only
3
4
#include
"b.h"
5
6
struct
X
{
7
virtual
void
f
();
8
};
9
inline
void
X
::
f
() {}
10
11
X x
;