Ignore:
Timestamp:
04/30/21 14:22:02 (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1eb6cdde
Parents:
e10dec0
git-author:
Sebastian Huber <sebastian.huber@…> (04/30/21 14:22:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/02/21 16:41:26)
Message:

spmisc01: Test RTEMS_NOINIT

Close #3866.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spmisc01/init.c

    re10dec0 r2df9541  
    5050RTEMS_SECTION(".rtemsroset.test") static int section_variable = 28;
    5151
     52RTEMS_NOINIT static int noinit_variable;
     53
    5254RTEMS_USED static int used_func(void)
    5355{
     
    206208{
    207209  void *p;
     210  int   v;
    208211
    209212  TEST_BEGIN();
     
    214217  rtems_test_assert(const_func() == 23);
    215218  rtems_test_assert(section_variable == 28);
     219  v = noinit_variable;
     220  RTEMS_OBFUSCATE_VARIABLE(v);
    216221  rtems_test_assert(unused_arg_and_variable_func(49) == 42);
    217222  rtems_test_assert(sizeof(packed_struct) == 5);
Note: See TracChangeset for help on using the changeset viewer.