vc/tests/linkTestLib1.cpp

19 lines
310 B
C++

#include <Vc/Vc>
#include <Vc/IO>
#include <Vc/support.h>
#define CAT(a, b) a##b
#define name(a, b) CAT(a, b)
using namespace Vc;
float_v
#ifdef Vc_MSVC
__declspec(dllexport)
#endif
name(fooLib1, POSTFIX)(float_v::AsArg a)
{
const float_v b = sin(a + float_v::One());
std::cerr << b;
return b;
}