repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template19.C
blob
f3e2cb87fd67f9caae663aa4141172963803c9b8
1
// PR c++/93676 - value-init crash in template.
2
// { dg-do compile { target c++11 } }
3
4
struct P {
5
int x = 0;
6
};
7
8
template<class T>
9
struct S {
10
S() { new P[2][2]; }
11
};
12
13
S<int> s;