Structural changes to create libcom module

This commit is contained in:
Ralph Lange
2017-07-28 14:54:35 +02:00
parent c036fd056b
commit f7fadc9312
1762 changed files with 166 additions and 183492 deletions

27
test/epicsInlineTest3.cpp Normal file
View File

@@ -0,0 +1,27 @@
/*************************************************************************\
* Copyright (c) 2015 Brookhaven Science Associates, as Operator of
* Brookhaven National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
#include "compilerSpecific.h"
#include "epicsUnitTest.h"
static EPICS_ALWAYS_INLINE int epicsInlineTestFn1(void)
{
return 3;
}
inline int epicsInlineTestFn2(void)
{
return 42;
}
extern "C"
void epicsInlineTest3(void)
{
testDiag("epicsInlineTest3()");
testOk1(epicsInlineTestFn1()==3);
testOk1(epicsInlineTestFn2()==42);
}