blob: 81c44debf33d4647a12a0777aadbde8a08743b00 [file] [log] [blame]
// PR debug/54828
// { dg-do compile }
// { dg-options "-g" }
// { dg-require-effective-target alloca }
struct T { T (); virtual ~T (); };
struct S : public virtual T { S (); virtual ~S (); };
int v;
void foo (char *);
S::S ()
{
char s[v];
foo (s);
}