OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.hp/] [gdb.objdbg/] [objdbg04/] [x1.cc] - Blame information for rev 107

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
#include <stdio.h>
2
#include "x.h"
3
 
4
template class Adder<int>;
5
 
6
int main()
7
{
8
  Adder<int> add;
9
 
10
  add.set(3);
11
  add.add(3);
12
  printf("In main: %d\n", add.get());
13
 
14
  return 0;
15
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.