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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
enum12.C
blob
595954b9167b5123f98ea3f54284077e7ed1c37b
1
// { dg-do assemble }
2
3
template <int I>
4
struct S1 { };
5
6
template <class T>
7
struct S2 {
8
enum { x = 3 };
9
10
void f(S1<x>&);
11
};
12
13
template <class T>
14
void S2<T>::f(S1<x>&)
15
{
16
}