null-8.C (bar): New function.
authorJakub Jelinek <jakub@redhat.com>
Mon, 27 Nov 2017 10:29:03 +0000 (11:29 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 27 Nov 2017 10:29:03 +0000 (11:29 +0100)
commit8cb715989f978104108606d65233838105fd41eb
tree1c92aff3baff15053201fe0ca9ad39267a4089a9
parentb8cb3096f78581c16d87469706e49b1a4ec345f0
null-8.C (bar): New function.

* g++.dg/ubsan/null-8.C (bar): New function.
(foo): Use bar instead of __builtin_printf.

From-SVN: r255162
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ubsan/null-8.C