repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
pr54828.C
blob
81c44debf33d4647a12a0777aadbde8a08743b00
1
// PR debug/54828
2
// { dg-do compile }
3
// { dg-options "-g" }
4
// { dg-require-effective-target alloca }
5
6
struct T { T (); virtual ~T (); };
7
struct S : public virtual T { S (); virtual ~S (); };
8
int v;
9
void foo (char *);
10
11
S::S ()
12
{
13
char s[v];
14
foo (s);
15
}