summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/fnname1.C
blob: 2c18c30f8d87f397a1b7a8fd239da501f249bbd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR c++/64222

class A
{
public:
  A (const char *, void *);
};
class B
{
public:
  B (A);
};
void
fn1 ()
{
  B a (A (__func__, 0));
}