Sebastian Huber commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5145#note_114449


I would use the existing tests for atomic operations and include them in a C 
and C++ file. Something like
```
#include "test-case-for-c-and-cc.inc"
```
in test.c and test.cc should work.

For the layout checks, you define objects in C and C++ files and save the size, 
offsets, alignments in a structure which is checked.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5145#note_114449
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to