* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / ubsan / pr64717-1.C
blob45ed8c6f0392b21f8dc992432a3b533a9258be3e
1 // PR c++/64717
2 // { dg-do compile }
3 // { dg-options "-O2 -Wuninitialized -fsanitize=vptr" }
5 class Foo {};
6 Foo make_foo ();
8 struct Handle { virtual ~Handle (); };
9 Handle open (Foo);
11 void
12 bar ()
14   Handle file (open (make_foo ())); // { dg-bogus "is used uninitialized" }