summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/overload/ellipsis2.C
blob: c226e1c5e5879937292c350fe0b33cd720336645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/60253
// { dg-options "-Wconditionally-supported" }

struct A
{
  ~A();
};

struct B
{
  B(...);
};

B b(0, A());  // { dg-message "pass" }