You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
392 B
17 lines
392 B
// Compile with:
|
|
// g++ -g -Wall -c -fdebug-types-section test23-first-tu.cc
|
|
// g++ -g -Wall -c -fdebug-types-section test23-second-tu.cc
|
|
// g++ -g -shared -fuse-ld=gold -o libtest23.so test23-first-tu.o test23-second-tu.o
|
|
// The secon
|
|
#include <string>
|
|
#include <iostream>
|
|
|
|
using std::cout;
|
|
using std::string;
|
|
|
|
void
|
|
emit(string& prefix, string& s)
|
|
{
|
|
cout << prefix << ":" << s << "\n";
|
|
}
|