mame/3rdparty/glm/test/bug/bug_ms_vec_static.cpp
Vas Crabb feb7c5dc79 Update GLM to tip of stable branch (0.9.8.5 pre-release) - fixes build with MacPorts clang
(nw) In future, could people please use stable branches when updating
3rd-party libraries, not unstable development snapshots?  It will help
with stability.
2017-02-25 14:11:44 +11:00

15 lines
160 B
C++

#define GLM_FORCE_SWIZZLE
#include <glm/vec2.hpp>
struct Foo
{
static glm::vec2 Bar;
};
glm::vec2 Foo::Bar = glm::vec2(1.f, 1.f);
int main()
{
return 0;
}