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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor4.C
blob
c4947126bbbe49a6600ecc973c040b3afffa4693
1
// PR c++/46873
2
// { dg-do compile { target c++11 } }
3
4
struct S
5
{
6
int i:1;
7
};
8
9
struct T
10
{
11
const S s;
12
constexpr T (S a = S ()) : s (a) { }
13
};
14
15
T t;