1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Submitted by Nathan Sidwell <nathan@acm.org> // Bug: g++ was giving the wrong line number for statics. // Special g++ Options: -w class A { A(); // ERROR - private ~A(); // ERROR - private }; static A a; // ERROR - here