OSDN Git Service

2009-11-04 Harsha Jagasia <harsha.jagasia@amd.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / typedef3.C
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/40357
3 // { dg-do compile }
4
5 struct XalanCProcessor
6 {
7       typedef enum {eInvalid, eXalanSourceTree, eXercesDOM} ParseOptionType;
8           ParseOptionType getParseOption(void);
9 };
10 typedef XalanCProcessor::ParseOptionType ParseOptionType;
11 ParseOptionType XalanCProcessor::getParseOption(void) {}
12