Add support for the WebAssembly binary format and be able to generate logical views. https://github.com/llvm/llvm-project/issues/69181 The README.txt includes information about how to build the test cases.
12 lines
131 B
C++
12 lines
131 B
C++
struct Struct {
|
|
union Union {
|
|
enum NestedEnum { RED, BLUE };
|
|
};
|
|
Union U;
|
|
};
|
|
|
|
Struct S;
|
|
int test() {
|
|
return S.U.BLUE;
|
|
}
|