gencpp/test/gen/sanity.gen.hpp
Ed_ 44ab1c2fc3 More fixes while completing sanity check for enums
Typepunning failed, didn't know about the difference between C/C++ with strict aliasing in this specific case...
2023-06-28 21:20:29 -04:00

20 lines
188 B
C++

// Sanity check: def_omment test
class Test_EmptyClass;
class Test_EmptyClass
{
// Empty class
};
typedef unsigned char u8;
enum Test_Enum : u8;
enum Test_Enum : u8
{
A,
B,
C,
};