PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / debug / pr54828.C
blob81c44debf33d4647a12a0777aadbde8a08743b00
1 // PR debug/54828
2 // { dg-do compile }
3 // { dg-options "-g" }
4 // { dg-require-effective-target alloca }
6 struct T { T (); virtual ~T (); };
7 struct S : public virtual T { S (); virtual ~S (); };
8 int v;
9 void foo (char *);
11 S::S ()
13   char s[v];
14   foo (s);