Work around an apparent clang bug

* tests were previously reported to fail with -O2 optimization
This commit is contained in:
Aaron Culliney 2014-08-16 11:25:07 -07:00
parent a99b5a1d68
commit e0dbcf4afc

View File

@ -1403,7 +1403,7 @@ TEST test_BPL(int8_t off, bool flag, uint16_t addrs) {
PASS();
}
TEST test_BRA(int8_t off, bool flag, uint16_t addrs) {
TEST test_BRA(volatile int8_t off, volatile bool flag, volatile uint16_t addrs) {
HEADER0();
cpu65_pc = addrs;