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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
mem-partial1.C
blob
60cb36aea994c46372d265155ff1ed1ad8556f01
1
// PR c++/14032
2
3
template <typename T> struct outer {
4
template <typename T2, typename U>
5
struct inner {
6
static int f() { return inner<T,int>::N; };
7
};
8
9
template <typename U>
10
struct inner<T,U> {
11
static const int N = 1;
12
};
13
};
14
15
int i = outer<int>::inner<double,int>::f();