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
/
dependent-expr6.C
blob
423f1aeeceacdf969f52d4216f5142dfc8cf8c60
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
};