diff --git a/test/bug/bug_ms_vec_static.cpp b/test/bug/bug_ms_vec_static.cpp index 812d97b3..06390235 100644 --- a/test/bug/bug_ms_vec_static.cpp +++ b/test/bug/bug_ms_vec_static.cpp @@ -1,12 +1,8 @@ #define GLM_FORCE_SWIZZLE #include -struct Foo -{ - static glm::vec2 Bar; -}; - -glm::vec2 Foo::Bar = glm::vec2(1.f, 1.f); +// Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler. +glm::vec2 const Bar(1.f, 1.f); int main() {