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
/
nsdmi14.C
blob
aac6fa1c81bb1621a4d01837abb2f55529237fca
1
// PR c++/71638
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wall" }
4
5
struct A {
6
struct {
7
int i;
8
int &j = i;
9
} b;
10
int a = b.j;
11
};
12
13
void bar (A);
14
15
void
16
foo ()
17
{
18
bar (A{});
19
}