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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
enum.C
blob
81b4574d85299b5279180ef02c342f45e39e5473
1
// { dg-do assemble }
2
// PRMS Id: 4337
3
// Bug: Enums are not looked up to arbitrary depth.
4
5
struct W {
6
enum A { B };
7
};
8
9
struct X : public W
10
{};
11
12
struct Y : public X
13
{};
14
15
struct S
16
{
17
X::A a1;
18
Y::A a2; // { dg-bogus "" }
19
};