Russ Butler
caa88ba9f4
More IAR test fixes
...
Make the following changes:
-Fix keyword used in forced inline pragma
-Move alignment test variables off of the stack since alignment there
is platform dependent.
2016-05-26 17:40:03 -05:00
Christopher Haster
018e2571e6
Added other attributes on supported compilers
...
tested on GCC, Clang, online compiler, and IAR
attributes
- PACK
- ALIGN
- UNUSED
- WEAK
- PURE
- FORCEINLINE
- NORETURN
- UNREACHABLE
- DEPRECATED
2016-05-16 18:59:23 -05:00
Christopher Haster
f05240b666
Added attribute tests from compiler-polyfill
...
from https://github.com/ARMmbed/compiler-polyfill/tree/master/test/attributes
2016-05-16 14:27:54 -05:00
Christopher Haster
bf498de127
Add backward compatiblity for FunctionPointer class using Callback
...
effectively:
typedef Callback<R(A)> FunctionPointerArg1<R,A>
typedef Callback<R()> FunctionPointerArg1<R,void>
typedef Callback<R()> FunctionPointer
typedef Callback<R()> event_callback_t
2016-05-13 19:07:45 -05:00
Christopher Haster
8b330ae8a6
Add callback tests
2016-05-13 19:07:45 -05:00