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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libmudflap/] [testsuite/] [libmudflap.c++/] [pass57-frag.cxx] - Blame information for rev 738

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 738 jeremybenn
#include <vector>
2
#include <string>
3
 
4
class fitscolumn
5
  {
6
  private:
7
    std::string name_, unit_;
8
   int i, t;
9
  public:
10
    fitscolumn (const std::string &nm, const std::string &un,int i1,int t1)
11
      : name_(nm), unit_(un), i(i1), t(t1){}
12
  };
13
 
14
void init_bintab(std::vector<fitscolumn> & columns_)
15
{
16
  char ttype[81], tunit[81], tform[81];
17
  long repc;
18
  int typecode;
19
  columns_.push_back (fitscolumn (ttype,tunit,1,typecode));
20
}
21
 
22
int main ()
23
{
24
  return 0;
25
}
26
 
27
/* Ignore a warning that is irrelevant to the purpose of this test.  */
28
/* { dg-prune-output ".*mudflap cannot track unknown size extern.*" } */

powered by: WebSVN 2.1.0

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