ld/testsuite/ld-elf/warn1.d
raw| 1 | #source: start.s |
| 2 | #source: symbol1ref.s |
| 3 | #source: symbol1w.s |
| 4 | #ld: -T group.ld |
| 5 | #warning: ^[^\\n]*\): warning: witty one-liner$ |
| 6 | #readelf: -s |
| 7 | #notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*" |
| 8 | |
| 9 | # Check that warnings are generated for the .gnu.warning.SYMBOL |
| 10 | # construct and that the symbol still appears as expected. |
| 11 | |
| 12 | #... |
| 13 | [ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[48][ ]+FUNC[ ]+GLOBAL DEFAULT[ ]+[1-9] symbol1 |
| 14 | #pass |