old-cross-binutils/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04/x1.cc

16 lines
176 B
C++
Raw Normal View History

1999-08-16 19:57:19 +00:00
#include <stdio.h>
#include "x.h"
template class Adder<int>;
int main()
{
Adder<int> add;
add.set(3);
add.add(3);
printf("In main: %d\n", add.get());
return 0;
}