Simplier repro case for #594

master
Christophe Riccio ago%!(EXTRA string=8 years)
parent 90873e607d
commit 9134d7904a
  1. 6
      test/bug/bug_ms_vec_static.cpp

@ -7,8 +7,8 @@ struct _swizzle
struct vec2 struct vec2
{ {
constexpr vec2(float x, float y) : constexpr vec2() :
x(x), y(y) x(0), y(0)
{} {}
union 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. // 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() int main()
{ {

Loading…
Cancel
Save