source: tests/enum_tests/pointerEnum.cfa @ ea10f64

Last change on this file since ea10f64 was 8bb86ce, checked in by JiadaL <j82liang@…>, 22 months ago

Clean up some code related to Enum codegen

  • Property mode set to 100644
File size: 159 bytes
RevLine 
[12df6fe]1#include <fstream.hfa>
2
3struct E {
4    int x;
5};
6struct E e = {1};
7enum(E *) {
8    First = &e,
9};
10
11int main() {
12    E * v = First;
[8bb86ce]13    // sout | "v: " | e.x;
[12df6fe]14}
Note: See TracBrowser for help on using the repository browser.