pretty-print.c: add selftest::test_prefixes_and_wrapping
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 30 Nov 2018 22:46:45 +0000 (22:46 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 30 Nov 2018 22:46:45 +0000 (22:46 +0000)
commit553a316b99c4af9d59e9594204298633b12f6618
tree168260d113bc624bec27096eac34175661bea86c
parented1b53a0abc298f13a89e2bb69cbedfb5c4dd6f9
pretty-print.c: add selftest::test_prefixes_and_wrapping

gcc/ChangeLog:
* pretty-print.c (class selftest::test_pretty_printer): New
subclass of pretty_printer.
(selftest::test_prefixes_and_wrapping): New test.
(selftest::pretty_print_c_tests): Call it.

From-SVN: r266695
gcc/ChangeLog
gcc/pretty-print.c