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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef7.C
blob
2d39c90b9ee2221af94905c4b025cd43f0237a3a
1
// An intermediate version of the fix for c++/19407 broke this example.
2
3
struct A
4
{
5
typedef struct { int i; } S;
6
};
7
8
template <class T>
9
struct B: public A
10
{
11
template <class U>
12
static S f ();
13
};
14
15
template struct B<int>;