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