OSDN Git Service

* call.c (add_candidates): Add first_arg and return_type parms.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.brendan / nest1.C
1 // { dg-do assemble  }
2 // GROUPS passed nested-classes
3 int x;
4 class enclose {
5 public:
6   int x;                        // { dg-error "non-static" }
7
8   class inner {
9   public:
10     void f (int i) {
11       x = i;// { dg-error "" } .*
12     }
13   };
14 };
15