mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Simplier repro case for #594
This commit is contained in:
parent
90873e607d
commit
9134d7904a
@ -7,8 +7,8 @@ struct _swizzle
|
||||
|
||||
struct vec2
|
||||
{
|
||||
constexpr vec2(float x, float y) :
|
||||
x(x), y(y)
|
||||
constexpr vec2() :
|
||||
x(0), y(0)
|
||||
{}
|
||||
|
||||
union
|
||||
@ -19,7 +19,7 @@ struct vec2
|
||||
};
|
||||
|
||||
// Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler.
|
||||
vec2 const Bar(1.f, 1.f);
|
||||
vec2 Bar;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user