diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-07-09 15:21:50 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-07-09 15:22:04 -0700 |
| commit | 49a4b1b9309de06f7a359836788dfff447003f1b (patch) | |
| tree | 4ee4ce61cf93e17f0b6cdcbfd35a0935995897ee /test/run_tests.cpp | |
| parent | a5251a1c102334a5dcb07e4fcc2b676be55fe2be (diff) | |
| download | zig-49a4b1b9309de06f7a359836788dfff447003f1b.tar.gz zig-49a4b1b9309de06f7a359836788dfff447003f1b.zip | |
ability to cast explicitly from int to enum
This commit also fixes a bug where pure functions are marked with
the read-only attribute in debug mode. This resulted in incorrect
codegen because calls to read-only functions with unused values
were not generated.
For example, a call to assert() would not be generated if assert
is marked with read-only. Which it *is* marked with in release
mode.
Diffstat (limited to 'test/run_tests.cpp')
0 files changed, 0 insertions, 0 deletions
