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
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
const5.C
blob
6de025816244a491dd282c540b3d2f635f8bebc6
1
// PR c++/49176
2
// { dg-do compile { target c++11 } }
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();