repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-err3.C
blob
b77ec9bf4e96cc7fdc3ba60b463e3cb7cf91535d
1
// PR c++/101232
2
// { dg-do compile { target c++11 } }
3
4
struct X {
5
int a;
6
int b;
7
};
8
9
void f() {
10
auto x = X{ 1, {2 }; // { dg-error "expected.*before" }
11
}