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
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
aggr-base3.C
blob
f526a6e8812ea5199980ef8da16b04dd03b232a6
1
// { dg-options -std=c++17 }
2
3
struct derived;
4
struct base { };
5
struct derived : base {
6
int i;
7
};
8
9
derived d1{1}; // { dg-error "base" }
10
derived d2{{},1}; // OK
11