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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist58.C
blob
aab21e35d1a2b8ddb7b6821d51197c7237f05617
1
// PR c++/50209
2
// { dg-do compile { target c++11 } }
3
4
struct S { int i,j; };
5
6
struct A
7
{
8
static void f (S = {1,2});
9
};
10
11
void f (S = {3,4});
12
13
int main()
14
{
15
A::f();
16
f();
17
}