Back to index

cell-binutils  2.17cvs20070401
warn2.d
Go to the documentation of this file.
00001 #source: start.s
00002 #source: symbol2ref.s
00003 #source: symbol2w.s
00004 #ld: -T group.ld
00005 #warning: ^[^\\n]*\.[obj]+: warning: function 'Foo' used$
00006 #readelf: -s
00007 #notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*"
00008 #xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "i960-*-*" "or32-*-*" "pj-*-*"
00009 
00010 # Check that warnings are generated for the symbols in .gnu.warning
00011 # construct and that the symbol still appears as expected.
00012 
00013 #...
00014 [      ]+[0-9]+:[    ]+[0-9a-f]+[  ]+20[  ]+OBJECT[      ]+GLOBAL DEFAULT[   ]+[1-2] Foo
00015 #pass