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
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template33.C
1
// { dg-do assemble }
2
// Test nested enums in templates.
3
4
template <class T>
5
class A
6
{
7
public:
8
enum muni {X, Y};
9
10
muni e() { return X; };
11
muni f();
12
};
13
14
template <class T>
15
typename A<T>::muni A<T>::f() { return X; }
16
17
template class A<int>;