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
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-array2.C
blob
5ad60f56510856fca278263f512ef65060a5ac2c
1
// PR c++/109666
2
// { dg-do compile { target c++11 } }
3
4
struct Point {
5
int value_;
6
};
7
template <int n> struct StaticVector {
8
static StaticVector create() {
9
StaticVector output;
10
return output;
11
}
12
Point _M_elems[n]{};
13
14
};
15
void f() { StaticVector<3>::create(); }