1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/gdb/tests/test-prettyprinters.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +#include "gdb-tests.h" 1.5 + 1.6 +typedef int A; 1.7 +typedef A B; 1.8 + 1.9 +class C { }; 1.10 +class D { }; 1.11 +typedef C C_; 1.12 +typedef D D_; 1.13 +class E: C, D { }; 1.14 +typedef E E_; 1.15 +class F: C_, D_ { }; 1.16 +class G { }; 1.17 +class H: F, G { }; 1.18 + 1.19 +FRAGMENT(prettyprinters, implemented_types) { 1.20 + int i; 1.21 + A a; 1.22 + B b; 1.23 + C c; 1.24 + C_ c_; 1.25 + E e; 1.26 + E_ e_; 1.27 + F f; 1.28 + H h; 1.29 + 1.30 + breakpoint(); 1.31 + 1.32 + (void) i; 1.33 + (void) a; 1.34 + (void) b; 1.35 + (void) c; 1.36 + (void) c_; 1.37 + (void) e; 1.38 + (void) e_; 1.39 + (void) f; 1.40 + (void) h; 1.41 +}