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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array.C
blob
1614d6bd2cc7ec58872e777d4d8fd5cf3595f74d
1
// { dg-do compile { target c++11 } }
2
// { dg-final { scan-assembler-not "static_initialization" } }
3
4
struct A
5
{
6
int i;
7
constexpr A(): i(0) { }
8
};
9
10
struct B
11
{
12
A a[4];
13
};
14
15
extern const B b{};