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.
16 lines
357 B
16 lines
357 B
7 months ago
|
// Compile with:
|
||
|
// g++ -g -Wall -c -fPIC -fdebug-types-section test23-first-tu.cc
|
||
|
// g++ -g -Wall -c -fPIC -fdebug-types-section test23-second-tu.cc
|
||
|
// g++ -g -shared -fuse-ld=gold -o libtest23.so test23-first-tu.o test23-second-tu.o
|
||
|
#include <string>
|
||
|
#include <iostream>
|
||
|
|
||
|
using std::cout;
|
||
|
using std::string;
|
||
|
|
||
|
void
|
||
|
emit(string& s)
|
||
|
{
|
||
|
cout << s << "\n";
|
||
|
}
|