no -pedantic

From-SVN: r32279
This commit is contained in:
Jason Merrill 2000-03-01 03:48:08 -05:00
parent 9ab476b27c
commit bcdaabbb07

View File

@ -1,3 +1,5 @@
// Special g++ Options:
#include <iostream.h>
class foo {
@ -23,8 +25,8 @@ class multiple : public bar_1, public bar_2 {
public:
multiple(int i1, int i2) : bar_1(i1), bar_2(i2) {}
void print() {
cout << "bar_1::k -> " << ((bar_1 *)this)->k << "\n";
cout << "bar_2::k -> " << ((bar_2 *)this)->k << "\n";
cout << "bar_1::k -> " << bar_1::k << "\n";
cout << "bar_2::k -> " << bar_2::k << "\n";
cout << "bar_1::get_k() -> " << bar_1::get_k() << "\n";
cout << "bar_2::get_k() -> " << bar_2::get_k() << "\n";
}