gcc/testsuite/c-c++-common/torture/attr-noinit-2.c
raw| 1 | /* { dg-do link } */ |
| 2 | /* { dg-do run { target { vma_equals_lma } } } */ |
| 3 | /* { dg-require-effective-target noinit } */ |
| 4 | /* { dg-options "-fdata-sections -save-temps" } */ |
| 5 | /* { dg-skip-if "data LMA != VMA" { msp430-*-* } { "-mlarge" } } */ |
| 6 | /* { dg-final { scan-assembler ".section\t.noinit.var_noinit,\"aw\"\n" } } */ |
| 7 | |
| 8 | /* Test the "noinit" attribute with -fdata-sections. */ |
| 9 | #include "attr-noinit-main.inc" |