js/src/gdb/tests/test-prettyprinters.cpp

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #include "gdb-tests.h"
     3 typedef int A;
     4 typedef A B;
     6 class C { };
     7 class D { };
     8 typedef C C_;
     9 typedef D D_;
    10 class E: C, D { };
    11 typedef E E_;
    12 class F: C_, D_ { };
    13 class G { };
    14 class H: F, G { };
    16 FRAGMENT(prettyprinters, implemented_types) {
    17   int i;
    18   A a;
    19   B b;
    20   C c;
    21   C_ c_;
    22   E e;
    23   E_ e_;
    24   F f;
    25   H h;
    27   breakpoint();
    29   (void) i;
    30   (void) a;
    31   (void) b;
    32   (void) c;
    33   (void) c_;
    34   (void) e;
    35   (void) e_;
    36   (void) f;
    37   (void) h;
    38 }

mercurial