old-cross-binutils/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04/x1.cc
1999-08-16 19:57:19 +00:00

15 lines
176 B
C++

#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;
}