mirror of
https://github.com/Ed94/gencpp.git
synced 2024-09-20 11:27:32 -07:00
Ed_
44ab1c2fc3
Typepunning failed, didn't know about the difference between C/C++ with strict aliasing in this specific case...
20 lines
188 B
C++
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,
|
|
};
|