Mercurial > hg > CbC > CbC_gcc
annotate 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 |
rev | line source |
---|---|
0 | 1 #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 } | |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
26 |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
27 /* Ignore a warning that is irrelevant to the purpose of this test. */ |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
28 /* { dg-prune-output ".*mudflap cannot track unknown size extern.*" } */ |