1 // Compile this with: 2 // g++ -g -Wall -c test17-non-refed-syms-v1.cc 3 4 void foo()5foo() 6 { 7 } 8 9 // And below is the definition of a function 'bar', in assembler. 10 // There won't be any debug info referencing the 'bar' symbol. 11 asm(".global bar"); 12 asm(".type bar,function"); 13 asm(".text"); 14 asm("bar:"); 15 asm("ret"); 16