re PR c++/67184 (Missed optimization with C++11 final specifier)
[official-gcc.git] / gcc / testsuite / g++.dg / other / typedef3.C
blobed9aca2cf531ad58f28d4c4521d6eb43ddf944ee
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/40357
3 // { dg-do compile }
5 struct XalanCProcessor
7       typedef enum {eInvalid, eXalanSourceTree, eXercesDOM} ParseOptionType;
8           ParseOptionType getParseOption(void);
9 };
10 typedef XalanCProcessor::ParseOptionType ParseOptionType;
11 ParseOptionType XalanCProcessor::getParseOption(void) { return ParseOptionType(); }