mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
3471e2b134
The following is legal code in both C and C++:
struct foo {
struct bar { int a } x;
int y;
};
...however in C++ it defines a type called "foo::bar" instead of "bar".
Just avoid this construct altogether