aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr77427.C
blob: 544946d70b6f40280345c151d91e60fcfa417ac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do compile }

void bar (__builtin_va_list &);

struct c
{
  operator const __builtin_va_list &();
  operator __builtin_va_list &();
};

void
foo (void)
{
  struct c c1;

  bar (c1);
}