OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51107
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-list1.C
1
// PR c++/50563
2
// { dg-options -std=c++0x }
3
4
struct S1 {
5
int a{10}, b{20}; // OK
6
};
7
8
struct S2 {
9
int a, b = 20; // OK
10
};
11
12
struct S3 {
13
int a = 10, b = 20;
14
};