view libmudflap/testsuite/libmudflap.c++/pass57-frag.cxx @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children
line wrap: on
line source

#include <vector>
#include <string>

class fitscolumn
  {
  private:
    std::string name_, unit_;
   int i, t;
  public:
    fitscolumn (const std::string &nm, const std::string &un,int i1,int t1)
      : name_(nm), unit_(un), i(i1), t(t1){}
  };

void init_bintab(std::vector<fitscolumn> & columns_)
{
  char ttype[81], tunit[81], tform[81];
  long repc;
  int typecode;
  columns_.push_back (fitscolumn (ttype,tunit,1,typecode));
}

int main ()
{
  return 0;
}

/* Ignore a warning that is irrelevant to the purpose of this test.  */
/* { dg-prune-output ".*mudflap cannot track unknown size extern.*" } */