summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr56403.C
blob: 27b6eeb88882889cf0cbde41e48f6cbe1810a0cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/56403
// { dg-do compile }

#include <stdarg.h>

struct S { va_list err_args; };

void *
foo ()
{
  return new S ();
}