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++/53549
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
const5.C
1
// PR c++/49176
2
// { dg-options -std=c++0x }
3
4
struct A { static int a(); };
5
6
template<int>
7
struct B { static int const b; };
8
9
int f() { return B<0>::b; }
10
11
template<int I>
12
int const B<I>::b=A::a();