OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51143 - Alias template allows class definition
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-defer2.C
1
// { dg-options -std=c++0x }
2
3
struct A
4
{
5
int i = f();
6
static int f(int i = 42) { return i; }
7
};
8
9
A a;