diff options
Diffstat (limited to '3rdparty/glm/source/test/bug')
-rw-r--r-- | 3rdparty/glm/source/test/bug/CMakeLists.txt | 1 | ||||
-rw-r--r-- | 3rdparty/glm/source/test/bug/bug_ms_vec_static.cpp | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/3rdparty/glm/source/test/bug/CMakeLists.txt b/3rdparty/glm/source/test/bug/CMakeLists.txt deleted file mode 100644 index 26e8569..0000000 --- a/3rdparty/glm/source/test/bug/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -glmCreateTestGTC(bug_ms_vec_static) diff --git a/3rdparty/glm/source/test/bug/bug_ms_vec_static.cpp b/3rdparty/glm/source/test/bug/bug_ms_vec_static.cpp deleted file mode 100644 index 7f44e40..0000000 --- a/3rdparty/glm/source/test/bug/bug_ms_vec_static.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include <glm/glm.hpp> - -#if GLM_CONFIG_ANONYMOUS_STRUCT == GLM_ENABLE -struct vec2; - -struct _swizzle -{ - char _buffer[1]; -}; - -struct vec2 -{ - GLM_CONSTEXPR vec2() : - x(0), y(0) - {} - - union - { - struct { float x, y; }; - struct { _swizzle xx; }; - }; -}; -#endif - -// Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler. -// vec2 Bar; - -int main() -{ - return 0; -} |