mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-28 21:29:24 -08:00
The original patch got reverted because it broke `check-lldb` on a clean build. This fixes that. llvm-svn: 374201
17 lines
229 B
C++
17 lines
229 B
C++
// Static function
|
|
namespace {
|
|
static long StaticFunction(int a)
|
|
{
|
|
return 2;
|
|
}
|
|
}
|
|
|
|
// Inlined function
|
|
static inline int InlinedFunction(long a) { return 10; }
|
|
|
|
void FunctionCall()
|
|
{
|
|
StaticFunction(1);
|
|
InlinedFunction(1);
|
|
}
|