summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/pr63270_1.C
blob: a842e5cfcc647c1ab20a1f75ecffcef46eeaddef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
typedef unsigned long uintptr_t;
namespace v8
{
  
    int kPointerSize = 0;
  
  class Extension;
  namespace internal
  {
    class Token;
    class Scanner;
    int kCodeOffset = 0;
    int kOptimizedCodeMapOffset = 0;
    int kScopeInfoOffset = 0;

    class FuncNameInferrer;
      template < typename Traits > class ParserBase:Traits
    {
      class FunctionState;
      bool parenthesized_function_;
      typename Traits::Type::Scope * scope_;
      FunctionState *function_state_;
        v8::Extension * extension_;
      FuncNameInferrer *fni_;
      Scanner *scanner_;
      uintptr_t stack_limit_;
      bool stack_overflow_;
      bool allow_lazy_;
      bool allow_natives_syntax_;
      bool allow_generators_;
      bool allow_for_of_;
      typename Traits::Type::Zone * zone_;
    };
    class PreParserScope;
    class PreParser;
    class PreParserTraits
    {
    public:struct Type
      {
	typedef PreParserScope Scope;
	typedef void Zone;
      };
      PreParser *pre_parser_;
    };
    class PreParser:ParserBase < PreParserTraits >
    {
      int ParseMemberWithNewPrefixesExpression ( bool * );
    };
    int PreParser::ParseMemberWithNewPrefixesExpression ( bool * )
    {
    }
  }
}