summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/parse14.C
blob: 34b5f840065c063c8286c776d05876c192a3b3df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Bug: g++ decides that A::foo is introducing a constructor declarator.

struct A {
  typedef bool foo;
};

A::foo (*bar) ();

struct B {
  A::foo (*bar) ();
};