Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist58.C
blob: aab21e35d1a2b8ddb7b6821d51197c7237f05617 [
file
] [
log
] [
blame
]
// PR c++/50209
// { dg-do compile { target c++11 } }
struct
S
{
int
i
,
j
;
};
struct
A
{
static
void
f
(
S
=
{
1
,
2
});
};
void
f
(
S
=
{
3
,
4
});
int
main
()
{
A
::
f
();
f
();
}