summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.old-deja/g++.other/lineno1.C
blob: ab003e0ff954278ff8072bc0d830cbc88853a598 (plain)
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



OpenPOWER on IntegriCloud