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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-expr6.C
1
// { dg-do compile }
2
3
// Copyright 2007 Free Software Foundation
4
// Contributed by Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5
6
// PR C++ 34081 ICE
7
8
class Foo;
9
10
template < class Foo > class Bar
11
{
12
enum Status
13
{ OK, NO };
14
15
enum Status getStatus ()
16
{
17
return status;
18
}
19
20
Status status;
21
};