From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- js/src/gdb/tests/test-prettyprinters.cpp | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 js/src/gdb/tests/test-prettyprinters.cpp (limited to 'js/src/gdb/tests/test-prettyprinters.cpp') diff --git a/js/src/gdb/tests/test-prettyprinters.cpp b/js/src/gdb/tests/test-prettyprinters.cpp new file mode 100644 index 000000000..794e4fd56 --- /dev/null +++ b/js/src/gdb/tests/test-prettyprinters.cpp @@ -0,0 +1,38 @@ +#include "gdb-tests.h" + +typedef int A; +typedef A B; + +class C { }; +class D { }; +typedef C C_; +typedef D D_; +class E: C, D { }; +typedef E E_; +class F: C_, D_ { }; +class G { }; +class H: F, G { }; + +FRAGMENT(prettyprinters, implemented_types) { + int i; + A a; + B b; + C c; + C_ c_; + E e; + E_ e_; + F f; + H h; + + breakpoint(); + + (void) i; + (void) a; + (void) b; + (void) c; + (void) c_; + (void) e; + (void) e_; + (void) f; + (void) h; +} -- cgit v1.2.3