summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/comma1.C
blob: 4983535a58779bf6c687afe7b3e2403487e382de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/14278
// { dg-options "" }

struct X { 
  X (int p);
};

struct A {
  A(X);
};

void *p_fun;

A a(X ((*(int (*)(int, int)) p_fun)(0, 0)));