aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/other/typedef3.C
blob: 8ead5b84520c2b3e69a2d82950a98ff1581102e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++/40357
// { dg-do compile }

struct XalanCProcessor
{
      typedef enum {eInvalid, eXalanSourceTree, eXercesDOM} ParseOptionType;
          ParseOptionType getParseOption(void);
};
typedef XalanCProcessor::ParseOptionType ParseOptionType;
ParseOptionType XalanCProcessor::getParseOption(void) {}