• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Compile with:
2 // g++ -g -Wall -c -fdebug-types-section test23-first-tu.cc
3 // g++ -g -Wall -c -fdebug-types-section test23-second-tu.cc
4 // g++ -g -shared -fuse-ld=gold -o libtest23.so test23-first-tu.o test23-second-tu.o
5 // The secon
6 #include <string>
7 #include <iostream>
8 
9 using std::cout;
10 using std::string;
11 
12 void
emit(string & prefix,string & s)13 emit(string& prefix, string& s)
14 {
15   cout << prefix << ":" << s << "\n";
16 }
17